diff options
Diffstat (limited to 'src/usr/local/www/index.php')
-rw-r--r-- | src/usr/local/www/index.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php index bb064af..31fd1ff 100644 --- a/src/usr/local/www/index.php +++ b/src/usr/local/www/index.php @@ -389,7 +389,7 @@ foreach ($widgets as $widgetname => $widgetconfig) { $columnWidth = 12 / $numColumns; for ($currentColumnNumber = 1; $currentColumnNumber <= $numColumns; $currentColumnNumber++) { - + //if col$currentColumnNumber exists if (isset($widgetColumns['col'.$currentColumnNumber])) { @@ -434,7 +434,7 @@ foreach ($widgets as $widgetname => $widgetconfig) { } else { echo '<div class="col-md-' . $columnWidth . '" id="widgets-col' . $currentColumnNumber . '"></div>'; } - + } ?> @@ -515,6 +515,14 @@ events.push(function() { return undefined; } }); + + // Show the fa-save icon in the breadcrumb bar if the user opens or closes a panel (In case he/she wants to save the new state) + // (Sometimes this will cause us to see the icon when we don't need it, but better that than the other way round) + $('.panel').on('hidden.bs.collapse shown.bs.collapse', function (e) { + if (e.currentTarget.id != 'widget-available') { + $('#btnstore').removeClass("invisible"); + } + }); }); //]]> </script> |