diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-03-16 05:46:28 -0700 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-03-16 10:54:53 -0400 |
commit | 91d598815528b71ec9842fed6e5c11ddd6e30438 (patch) | |
tree | 36ba3d77901ab239205143d9f1460f42f5c43f9e /src/usr/local/www/index.php | |
parent | afecba840bf2094d5e8768d9273ba64b425bd2d9 (diff) | |
download | pfsense-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.php | 6 |
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(); }); |