Mercurial > hg > orthanc
comparison OrthancExplorer/explorer.js @ 1591:cd9d99fe32e9
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Aug 2015 10:54:52 +0200 |
parents | b8dc2f855a83 |
children | 5cdea1cd2071 |
comparison
equal
deleted
inserted
replaced
1590:ba0226474e22 | 1591:cd9d99fe32e9 |
---|---|
59 } | 59 } |
60 ); | 60 ); |
61 | 61 |
62 currentPage = $.mobile.pageData.active; | 62 currentPage = $.mobile.pageData.active; |
63 currentUuid = $.mobile.pageData.uuid; | 63 currentUuid = $.mobile.pageData.uuid; |
64 if (currentPage.length > 0 && | 64 if (!(typeof currentPage === 'undefined') && |
65 !(typeof currentUuid === 'undefined') && | |
66 currentPage.length > 0 && | |
65 currentUuid.length > 0) | 67 currentUuid.length > 0) |
66 { | 68 { |
67 Refresh(); | 69 Refresh(); |
68 } | 70 } |
69 }); | 71 }); |