summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-08-11 10:30:00 -0400
committerSteve Beaver <sbeaver@netgate.com>2017-08-11 10:30:00 -0400
commit979bbbd427e3bd1bf18b1a7284c73374c20c9693 (patch)
tree8e67c5d4d66e4a11eeeae40535c6c9c313112f8c /src/usr/local
parente38ba3560b7750edac6d4adfb9108c93785c2998 (diff)
downloadpfsense-979bbbd427e3bd1bf18b1a7284c73374c20c9693.zip
pfsense-979bbbd427e3bd1bf18b1a7284c73374c20c9693.tar.gz
Improve comments
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/widgets/widgets/system_information.widget.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/widgets/widgets/system_information.widget.php b/src/usr/local/www/widgets/widgets/system_information.widget.php
index fc2ea29..3395512 100644
--- a/src/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/src/usr/local/www/widgets/widgets/system_information.widget.php
@@ -699,7 +699,6 @@ events.push(function(){
set_widget_checkbox_events("#<?=$widget_panel_footer_id?> [id^=show]", "<?=$widget_showallnone_id?>");
-
// AJAX function to update the version display with non-cached data
function updver_ajax() {
@@ -718,8 +717,8 @@ events.push(function(){
success: function(data){
// Display the returned data
$('[id^=widget-system_information] #updatestatus').html(data);
- // Re-attach the click handler
+ // Re-attach the click handler (The binding was lost when hte <div> content was replaced)
$('#updver').click(function() {
updver_ajax();
});
OpenPOWER on IntegriCloud