mirror of https://github.com/Aidaho12/haproxy-wi
parent
a905a2ae3e
commit
cc52ec7779
|
@ -88,8 +88,8 @@ function autoRefreshStyle(autoRefresh) {
|
|||
|
||||
function setRefreshInterval(interval) {
|
||||
if (interval == "0") {
|
||||
Cookies.remove('auto-refresh', { path: '' });
|
||||
Cookies.remove('auto-refresh-pause', { path: '' });
|
||||
Cookies.remove('auto-refresh');
|
||||
Cookies.remove('auto-refresh-pause');
|
||||
pauseAutoRefresh();
|
||||
$('.auto-refresh').prepend('<img src=/image/pic/update.png alt="restart" class="icon">');
|
||||
$('.auto-refresh').css('margin-top', '-3px');
|
||||
|
|
|
@ -212,6 +212,7 @@ $( function() {
|
|||
newserver: "1",
|
||||
servername: $('#new-server-add').val(),
|
||||
newip: $('#new-ip').val(),
|
||||
newport: $('#new-port').val(),
|
||||
newservergroup: $('#new-server-group-add').val(),
|
||||
typeip: typeip,
|
||||
enable: enable,
|
||||
|
@ -725,6 +726,7 @@ function updateServer(id) {
|
|||
data: {
|
||||
updateserver: $('#hostname-'+id).val(),
|
||||
ip: $('#ip-'+id).val(),
|
||||
port: $('#port-'+id).val(),
|
||||
servergroup: servergroup,
|
||||
typeip: typeip,
|
||||
enable: enable,
|
||||
|
|
Loading…
Reference in New Issue