summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-03-11 11:29:03 -0500
committerpliablepixels <pliablepixels@gmail.com>2016-03-11 11:29:03 -0500
commitc4bd4368231da17bd24219f6db7982d364ed8302 (patch)
tree119beb8c4ef1307e2918b8b74a42e4b5dbc82279 /www/js
parent3e902602c18b8f5b3032e4435a31d569c5ff6696 (diff)
#179 - tweaks
Former-commit-id: a09f67dcaa8c09729cd0f2fe033c82d08ae28000
Diffstat (limited to 'www/js')
-rw-r--r--www/js/MontageCtrl.js13
1 files changed, 11 insertions, 2 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index 9d0fe352..b02cbe6b 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -181,6 +181,13 @@ angular.module('zmApp.controllers').controller('zmApp.MontageCtrl', ['$scope', '
function initPackery()
{
+
+ $ionicLoading.show({
+ template: "arranging images...",
+ noBackdrop: true,
+ duration: zm.loadingTimeout
+ });
+
var progressCalled = false;
draggies = [];
var layouttype = true;
@@ -231,7 +238,9 @@ function initPackery()
});
imagesLoaded(elem).on('always', function() {
- console.log ("******** ALL IMAGES LOADED");
+ //console.log ("******** ALL IMAGES LOADED");
+ ZMDataModel.zmDebug ("All images loaded");
+ $ionicLoading.hide();
if (!progressCalled)
{
@@ -794,7 +803,7 @@ function initPackery()
function layout(pckry)
{
- pckry.layout();
+ pckry.shiftLayout();
}
//---------------------------------------------------------