Commit ad45ebfd authored by Eric - kg6wxc's avatar Eric - kg6wxc
Browse files

Bugfix - otherAdmin.php

Removed a "/n" from a java pop up alert.
Not sure why I thought that would work...

fixed now
parent 47b93eea
...@@ -14,7 +14,7 @@ $html = <<< EOD ...@@ -14,7 +14,7 @@ $html = <<< EOD
<br> <br>
<br> <br>
<script> <script>
var arname=''"; var arname="";
function other_loadThePage(div_id, script) { function other_loadThePage(div_id, script) {
if (script == "fixPolling" ) { if (script == "fixPolling" ) {
$.ajax({ $.ajax({
...@@ -22,7 +22,7 @@ function other_loadThePage(div_id, script) { ...@@ -22,7 +22,7 @@ function other_loadThePage(div_id, script) {
url: "fixStuckPolling.php", url: "fixStuckPolling.php",
data: "arname="+arname, data: "arname="+arname,
success: function(msg){ success: function(msg){
alert('Success!!\nPolling should now resume.'); alert('Polling should now resume.');
// $("#"+div_id).html(msg); // $("#"+div_id).html(msg);
// $('#nav_link_location').css("background-color", "#dddddd"); // $('#nav_link_location').css("background-color", "#dddddd");
// $('#nav_link_non_mesh').css("background-color", ""); // $('#nav_link_non_mesh').css("background-color", "");
...@@ -34,16 +34,12 @@ function other_loadThePage(div_id, script) { ...@@ -34,16 +34,12 @@ function other_loadThePage(div_id, script) {
} }
} }
</script> </script>
<a href="javascript:onclick=other_loadThePage('admin_content', 'fixPolling');">Fix stuck polling run.</a> <a href="javascript:onclick=other_loadThePage('admin_content','fixPolling');">Fix stuck polling run.</a>
<br> <br>
(It should reset itself after 3 * node_polling_interval, but you can manually do it here also.) (It should reset itself after 3 * node_polling_interval, but you can manually do it here also.)
EOD; EOD;
echo $html . "\n"; echo $html . "\n";
} }
?>
<?php
?> ?>
<?php
?>
Supports Markdown
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