Bugs
pull/42/head
Aidaho12 2018-09-08 10:04:04 +06:00
parent a905a2ae3e
commit cc52ec7779
2 changed files with 4 additions and 2 deletions

View File

@ -88,8 +88,8 @@ function autoRefreshStyle(autoRefresh) {
function setRefreshInterval(interval) { function setRefreshInterval(interval) {
if (interval == "0") { if (interval == "0") {
Cookies.remove('auto-refresh', { path: '' }); Cookies.remove('auto-refresh');
Cookies.remove('auto-refresh-pause', { path: '' }); Cookies.remove('auto-refresh-pause');
pauseAutoRefresh(); pauseAutoRefresh();
$('.auto-refresh').prepend('<img src=/image/pic/update.png alt="restart" class="icon">'); $('.auto-refresh').prepend('<img src=/image/pic/update.png alt="restart" class="icon">');
$('.auto-refresh').css('margin-top', '-3px'); $('.auto-refresh').css('margin-top', '-3px');

View File

@ -212,6 +212,7 @@ $( function() {
newserver: "1", newserver: "1",
servername: $('#new-server-add').val(), servername: $('#new-server-add').val(),
newip: $('#new-ip').val(), newip: $('#new-ip').val(),
newport: $('#new-port').val(),
newservergroup: $('#new-server-group-add').val(), newservergroup: $('#new-server-group-add').val(),
typeip: typeip, typeip: typeip,
enable: enable, enable: enable,
@ -725,6 +726,7 @@ function updateServer(id) {
data: { data: {
updateserver: $('#hostname-'+id).val(), updateserver: $('#hostname-'+id).val(),
ip: $('#ip-'+id).val(), ip: $('#ip-'+id).val(),
port: $('#port-'+id).val(),
servergroup: servergroup, servergroup: servergroup,
typeip: typeip, typeip: typeip,
enable: enable, enable: enable,