changeset 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 85999ed092c5
children 8341256c6941
files NEWS OrthancExplorer/explorer.js
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Fri Nov 09 14:48:32 2018 +0100
+++ b/NEWS	Tue Nov 13 12:01:12 2018 +0100
@@ -16,6 +16,7 @@
 
 REST API
 --------
+
 * API Version has been upgraded to 1.2
 * New URI: "/studies/.../merge" to merge a study
 * New URI: "/studies/.../split" to split a study
--- 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);
     }