diff options
author | marijus <mario@mariovavti.com> | 2014-09-11 11:01:20 +0200 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-09-11 11:01:20 +0200 |
commit | df843925cf6441ef2b0a285bd6bf63366648cdba (patch) | |
tree | a22c663244ef42474146060b5fc5ae2aff939fba | |
parent | 3caee72aee3d5008f954e3ccf1dc2b61fedf23d8 (diff) | |
download | volse-hubzilla-df843925cf6441ef2b0a285bd6bf63366648cdba.tar.gz volse-hubzilla-df843925cf6441ef2b0a285bd6bf63366648cdba.tar.bz2 volse-hubzilla-df843925cf6441ef2b0a285bd6bf63366648cdba.zip |
should probably still lock autoload during image processing
-rw-r--r-- | view/js/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |