Commit d1538bc1 authored by Jos Schellevis's avatar Jos Schellevis

(proxy) remove duplicate reconfigure action

parent 5b27c0af
...@@ -84,24 +84,12 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -84,24 +84,12 @@ POSSIBILITY OF SUCH DAMAGE.
$("#fetchandreconfigureAct").click(function(){ $("#fetchandreconfigureAct").click(function(){
$("#fetchandreconfigureAct_progress").addClass("fa fa-spinner fa-pulse"); $("#fetchandreconfigureAct_progress").addClass("fa fa-spinner fa-pulse");
ajaxCall(url="/api/proxy/service/fetchacls", sendData={}, callback=function(data,status) { ajaxCall(url="/api/proxy/service/fetchacls", sendData={}, callback=function(data,status) {
if (status != "success" || data['status'] != 'ok') {
BootstrapDialog.show({
type: BootstrapDialog.TYPE_WARNING,
title: "Error fetching remote acls",
message: data['status'],
draggable: true
});
}
});
ajaxCall(url="/api/proxy/service/reconfigure", sendData={}, callback=function(data,status) {
// when done, disable progress animation. // when done, disable progress animation.
$("#fetchandreconfigureAct_progress").removeClass("fa fa-spinner fa-pulse"); $("#fetchandreconfigureAct_progress").removeClass("fa fa-spinner fa-pulse");
if (status != "success" || data['status'] != 'ok') { if (status != "success" || data['status'] != 'ok') {
BootstrapDialog.show({ BootstrapDialog.show({
type: BootstrapDialog.TYPE_WARNING, type: BootstrapDialog.TYPE_WARNING,
title: "Error reconfiguring proxy", title: "Error fetching remote acls",
message: data['status'], message: data['status'],
draggable: true draggable: true
}); });
......
Markdown is supported
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