mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
Regions UI actions: Refresh region selector listing
After action is performed that adds/removes regions, call 'cloudStack.refreshRegions' to refresh region selector listing.
This commit is contained in:
parent
b9294daaf1
commit
acce7d9678
@ -63,6 +63,7 @@
|
||||
var jobID = json.addregionresponse.jobid;
|
||||
|
||||
args.response.success({ _custom: { jobId: jobID }});
|
||||
$(window).trigger('cloudStack.refreshRegions');
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -97,6 +98,7 @@
|
||||
data: { id: region.id },
|
||||
success: function(json) {
|
||||
args.response.success();
|
||||
$(window).trigger('cloudStack.refreshRegions');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user