summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/js/MontageCtrl.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index 7f978447..d01628c3 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -2411,11 +2411,12 @@ angular.module('zmApp.controllers')
}
-
+
$timeout(function () {
- pckry.layout();
+
+ console.log ('******* DOING RESET');
pckry.once('layoutComplete', function () {
- //console.log ("Layout complete");
+ console.log ("Layout complete");
var positions = pckry.getShiftPositions('data-item-id');
//console.log ("POSITIONS MAP " + JSON.stringify(positions));
var ld = NVR.getLogin();
@@ -2436,9 +2437,10 @@ angular.module('zmApp.controllers')
// $scope.slider.monsize = 2;
});
+ pckry.layout();
//pckry.layout();
- }, 20);
+ }, 20);
};