mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
More adjustments to refresh interval
This commit is contained in:
@@ -135,7 +135,7 @@ require_once "resources/check_auth.php";
|
||||
$refresh = $_SESSION['registrations']['refresh']['numeric'];
|
||||
}
|
||||
else {
|
||||
$_SESSION['registrations']['refresh']['numeric'] = 0;
|
||||
$refresh = 0;
|
||||
}
|
||||
|
||||
echo "<script>\n";
|
||||
@@ -151,11 +151,9 @@ require_once "resources/check_auth.php";
|
||||
echo " <input type='button' class='btn' value='".$text['button-back']."' onclick=\"history.back();\" />\n";
|
||||
echo " </td>\n";
|
||||
echo " <td style='vertical-align: middle;'>\n";
|
||||
echo " <input type='button' class='btn' value='".$text['button-refresh']."' onclick=\"Refresh(document.getElementById('Refresh').value);\" />\n";
|
||||
echo " <input type='button' class='btn' value='".$text['button-refresh']."' onclick=\"Refresh(".$refresh.");\" />\n";
|
||||
echo " <script>\n";
|
||||
echo " if (document.getElementById('Refresh').value != '0') {\n";
|
||||
echo " setTimeout(\"Refresh(".$refresh.")\" , (".$refresh." * 1000));\n";
|
||||
echo " }\n";
|
||||
echo " </script>\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
|
||||
Reference in New Issue
Block a user