From 338e4f22a7d53652f08ef6f73f18bfef98cb23d8 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 9 Dec 2016 09:45:50 -0500 Subject: if no packery profiles found, force monitors to "show" #408 --- www/js/DataModel.js | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'www/js') 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 @@ -278,6 +278,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'; + + } + + } } -- cgit v1.2.3