Mercurial > hg > orthanc
changeset 1591:cd9d99fe32e9
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Aug 2015 10:54:52 +0200 |
parents | ba0226474e22 |
children | d73124f6b439 |
files | OrthancExplorer/explorer.js |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancExplorer/explorer.js Wed Aug 26 17:51:03 2015 +0200 +++ b/OrthancExplorer/explorer.js Thu Aug 27 10:54:52 2015 +0200 @@ -61,7 +61,9 @@ currentPage = $.mobile.pageData.active; currentUuid = $.mobile.pageData.uuid; - if (currentPage.length > 0 && + if (!(typeof currentPage === 'undefined') && + !(typeof currentUuid === 'undefined') && + currentPage.length > 0 && currentUuid.length > 0) { Refresh();