Commit 6183de08 authored by Franco Fichtner's avatar Franco Fichtner

dashboard: toggle would toggle frequently, better like this

Suggested by: @adschellevis
parent a5952c4c
...@@ -322,6 +322,6 @@ endforeach; ...@@ -322,6 +322,6 @@ endforeach;
<!-- needed to display the widget settings menu --> <!-- needed to display the widget settings menu -->
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
$("#log-configure").toggleClass("disabled"); $("#log-configure").removeClass("disabled");
//]]> //]]>
</script> </script>
...@@ -97,6 +97,6 @@ endif ?> ...@@ -97,6 +97,6 @@ endif ?>
<!-- needed to show the settings widget icon --> <!-- needed to show the settings widget icon -->
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
$("#picture-configure").toggleClass("disabled"); $("#picture-configure").removeClass("disabled");
//]]> //]]>
</script> </script>
...@@ -103,6 +103,6 @@ if (isset($_POST['servicestatusfilter'])) { ...@@ -103,6 +103,6 @@ if (isset($_POST['servicestatusfilter'])) {
<!-- needed to display the widget settings menu --> <!-- needed to display the widget settings menu -->
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
$("#services_status-configure").toggleClass("disabled"); $("#services_status-configure").removeClass("disabled");
//]]> //]]>
</script> </script>
...@@ -75,6 +75,6 @@ if(is_numeric($_POST['logfiltercount'])) { ...@@ -75,6 +75,6 @@ if(is_numeric($_POST['logfiltercount'])) {
<!-- needed to display the widget settings menu --> <!-- needed to display the widget settings menu -->
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
$("#system_log-configure").toggleClass("disabled"); $("#system_log-configure").removeClass("disabled");
//]]> //]]>
</script> </script>
...@@ -174,6 +174,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { ...@@ -174,6 +174,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
<!-- needed to display the widget settings menu --> <!-- needed to display the widget settings menu -->
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
$("#thermal_sensors-configure").toggleClass("disabled"); $("#thermal_sensors-configure").removeClass("disabled");
//]]> //]]>
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment