summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/index.php
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2016-03-16 05:46:28 -0700
committerStephen Beaver <sbeaver@netgate.com>2016-03-16 10:54:53 -0400
commit91d598815528b71ec9842fed6e5c11ddd6e30438 (patch)
tree36ba3d77901ab239205143d9f1460f42f5c43f9e /src/usr/local/www/index.php
parentafecba840bf2094d5e8768d9273ba64b425bd2d9 (diff)
downloadpfsense-91d598815528b71ec9842fed6e5c11ddd6e30438.zip
pfsense-91d598815528b71ec9842fed6e5c11ddd6e30438.tar.gz
Status / Dashboard - Conceal save icon when not dirty.
Diffstat (limited to 'src/usr/local/www/index.php')
-rw-r--r--src/usr/local/www/index.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php
index 47b3a08..9f49cd6 100644
--- a/src/usr/local/www/index.php
+++ b/src/usr/local/www/index.php
@@ -484,7 +484,10 @@ events.push(function() {
handle: '.panel-heading',
cursor: 'grabbing',
connectWith: '.container .col-md-<?=$columnWidth?>',
- update: function(){dirty = true;}
+ update: function(){
+ dirty = true;
+ $('#btnstore').removeClass('invisible');
+ }
});
// On clicking a widget to install . .
@@ -500,6 +503,7 @@ events.push(function() {
$('#btnstore').click(function() {
updateWidgets();
dirty = false;
+ $(this).addClass('invisible');
$('[name=widgetForm]').submit();
});
OpenPOWER on IntegriCloud