diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-11-09 11:30:27 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-11-09 11:30:27 -0500 |
| commit | 22056d79213beb3c0597f2dcbad4b64d5ef40be2 (patch) | |
| tree | 424229fef5a5ca605197b2dfbbfe42d0ac313c58 /www/js/MontageCtrl.js | |
| parent | 030690adca190d6cd56c3a99202a038854c08e82 (diff) | |
on resetsize layout handler before layout
Diffstat (limited to 'www/js/MontageCtrl.js')
| -rw-r--r-- | www/js/MontageCtrl.js | 10 |
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); }; |
