mirror of https://github.com/Aidaho12/haproxy-wi
parent
715187b075
commit
396d6b85e9
|
@ -1680,3 +1680,14 @@ function removeData() {
|
||||||
chart.destroy();
|
chart.destroy();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
function common_ajax_action_after_success(dialog_id, new_group, ajax_append_id, data) {
|
||||||
|
toastr.clear();
|
||||||
|
$("#"+ajax_append_id).append(data);
|
||||||
|
$( "."+new_group ).addClass( "update", 1000);
|
||||||
|
$.getScript(awesome);
|
||||||
|
clearTips();
|
||||||
|
$( dialog_id ).dialog("close" );
|
||||||
|
setTimeout(function() {
|
||||||
|
$( "."+new_group ).removeClass( "update" );
|
||||||
|
}, 2500 );
|
||||||
|
}
|
||||||
|
|
11
inc/users.js
11
inc/users.js
|
@ -288,17 +288,6 @@ window.onload = function() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function common_ajax_action_after_success(dialog_id, new_group, ajax_append_id, data) {
|
|
||||||
toastr.clear();
|
|
||||||
$("#"+ajax_append_id).append(data);
|
|
||||||
$( "."+new_group ).addClass( "update", 1000);
|
|
||||||
$.getScript(awesome);
|
|
||||||
clearTips();
|
|
||||||
$( dialog_id ).dialog("close" );
|
|
||||||
setTimeout(function() {
|
|
||||||
$( "."+new_group ).removeClass( "update" );
|
|
||||||
}, 2500 );
|
|
||||||
}
|
|
||||||
function addUser(dialog_id) {
|
function addUser(dialog_id) {
|
||||||
var valid = true;
|
var valid = true;
|
||||||
toastr.clear();
|
toastr.clear();
|
||||||
|
|
Loading…
Reference in New Issue