diff OrthancExplorer/explorer.js @ 201:bee20e978835

refactoring of delete
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 27 Nov 2012 17:36:19 +0100
parents f2ae23682353
children f23318b11b39
line wrap: on
line diff
--- a/OrthancExplorer/explorer.js	Tue Nov 27 16:49:22 2012 +0100
+++ b/OrthancExplorer/explorer.js	Tue Nov 27 17:36:19 2012 +0100
@@ -557,7 +557,7 @@
       if (ancestor == null)
         $.mobile.changePage('#find-patients');
       else
-        $.mobile.changePage('#' + ancestor.Type + '?uuid=' + ancestor.ID);
+        $.mobile.changePage('#' + ancestor.Type.toLowerCase() + '?uuid=' + ancestor.ID);
     }
   });
 }