Mercurial > hg > orthanc
diff OrthancExplorer/explorer.js @ 2929:e0c620f964e5
Go back to lookup if deleting a resource without an ancestor
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Nov 2018 12:01:12 +0100 |
parents | 67ebfacf4467 |
children | c9c2faf76bec |
line wrap: on
line diff
--- a/OrthancExplorer/explorer.js Fri Nov 09 14:48:32 2018 +0100 +++ b/OrthancExplorer/explorer.js Tue Nov 13 12:01:12 2018 +0100 @@ -839,7 +839,7 @@ success: function(s) { var ancestor = s.RemainingAncestor; if (ancestor == null) - $.mobile.changePage('#find-patients'); + $.mobile.changePage('#lookup'); else $.mobile.changePage('#' + ancestor.Type.toLowerCase() + '?uuid=' + ancestor.ID); }