comparison OrthancExplorer/explorer.js @ 351:64625960af22

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 28 Jan 2013 15:58:09 +0100
parents a9752f88400c
children 4d76fce206ef
comparison
equal deleted inserted replaced
350:8031f9cfe7fe 351:64625960af22
835 data: '{}', 835 data: '{}',
836 dataType: 'json', 836 dataType: 'json',
837 async: false, 837 async: false,
838 cache: false, 838 cache: false,
839 success: function(s) { 839 success: function(s) {
840 $.mobile.changePage('#patient?uuid=' + s.PatientID); 840 // The following line does not work...
841 //$.mobile.changePage('explorer.html#patient?uuid=' + s.PatientID);
842
843 window.location.assign('explorer.html#patient?uuid=' + s.PatientID);
844 window.location.reload();
841 } 845 }
842 }); 846 });
843 }, 847 },
844 icon: "delete", 848 icon: "delete",
845 theme: "c" 849 theme: "c"
864 868
865 $('#series-anonymize').live('click', function() { 869 $('#series-anonymize').live('click', function() {
866 OpenAnonymizeResourceDialog('../series/' + $.mobile.pageData.uuid, 870 OpenAnonymizeResourceDialog('../series/' + $.mobile.pageData.uuid,
867 'Anonymize this series?'); 871 'Anonymize this series?');
868 }); 872 });
873
874 $('#patient-anonymize').live('click', function() {
875 OpenAnonymizeResourceDialog('../patients/' + $.mobile.pageData.uuid,
876 'Anonymize this patient?');
877 });