From df843925cf6441ef2b0a285bd6bf63366648cdba Mon Sep 17 00:00:00 2001 From: marijus Date: Thu, 11 Sep 2014 11:01:20 +0200 Subject: should probably still lock autoload during image processing --- view/js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/view/js/main.js b/view/js/main.js index e263fd116..2e5d3166a 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -705,6 +705,7 @@ function updateConvItems(mode,data) { } function justifyPhotos(bParam_page) { + loadingPage = true; $('#photo-album-contents-' + bParam_page).justifiedGallery({ lastRow : 'nojustify', captions: true, @@ -718,7 +719,7 @@ function updateConvItems(mode,data) { 'lt640': '', 'lt1024': '' } - }); + }).on('jg.complete', function(e){ loadingPage = false; }); } function notify_popup_loader(notifyType) { -- cgit v1.2.3