summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-12-09 09:45:50 -0500
committerPliable Pixels <pliablepixels@gmail.com>2016-12-09 09:45:50 -0500
commit338e4f22a7d53652f08ef6f73f18bfef98cb23d8 (patch)
treeecd8ef43e3e5ef7fb641a54b8b59f8faaa138db7 /www/js/DataModel.js
parentdace3673bfa9eb5e03c7f0b8ff1b6fefb6098bc2 (diff)
if no packery profiles found, force monitors to "show" #408
Diffstat (limited to 'www/js/DataModel.js')
-rw-r--r--www/js/DataModel.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index 06d20e57..d1afce9e 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -279,6 +279,17 @@ angular.module('zmApp.controllers')
}
}
+ else // if there are no packery positions, make sure all are displayed!
+ {
+ debug ("no packery profile, making sure monitors are show");
+ for (var m1 = 0; m1 < monitors.length; m1++)
+ {
+ monitors[m1].Monitor.listDisplay = 'show';
+
+ }
+
+
+ }
}
function setLogin(newLogin)