Mercurial > hg > digilib-old
diff client/digitallibrary/ImgInfo-json.jsp @ 754:ce5a0e6b5ee9 jquery
reading image info asynchronously works now. has just no use yet.
author | robcast |
---|---|
date | Sun, 06 Feb 2011 00:12:47 +0100 |
parents | 39bd5128811c |
children | 485b85f6e097 |
line wrap: on
line diff
--- a/client/digitallibrary/ImgInfo-json.jsp Sat Feb 05 22:50:15 2011 +0100 +++ b/client/digitallibrary/ImgInfo-json.jsp Sun Feb 06 00:12:47 2011 +0100 @@ -25,8 +25,7 @@ FileOps.FileClass fc = FileOps.FileClass.IMAGE; ImageFileset imgFile = (ImageFileset) dirCache.getFile(dlRequest.getFilePath(), dlRequest.getAsInt("pn"), fc); -%>// JSON format metadata about an image -{ <% +%>{ <% if (imgFile != null) { ImageFile img = imgFile.getBiggest(); if (!img.isChecked()) {