mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Primary Storage page - not update right panel after an action succeeds since the action might not belong to currently selected middle menu item.
This commit is contained in:
parent
443d733665
commit
1e1f32fa2e
@ -201,8 +201,8 @@ var primarystorageActionMap = {
|
|||||||
afterActionSeccessFn: function(json, $midmenuItem1, id) {
|
afterActionSeccessFn: function(json, $midmenuItem1, id) {
|
||||||
var item = json.queryasyncjobresultresponse.jobresult.storagepool;
|
var item = json.queryasyncjobresultresponse.jobresult.storagepool;
|
||||||
primarystorageToMidmenu(item, $midmenuItem1);
|
primarystorageToMidmenu(item, $midmenuItem1);
|
||||||
primarystorageToRightPanel($midmenuItem1);
|
//primarystorageToRightPanel($midmenuItem1);
|
||||||
$("#right_panel_content #after_action_info").text("We are actively enabling maintenance. Please refresh periodically for an updated status.");
|
//$("#right_panel_content #after_action_info").text("We are actively enabling maintenance. Please refresh periodically for an updated status.");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Cancel Maintenance Mode": {
|
"Cancel Maintenance Mode": {
|
||||||
@ -213,8 +213,8 @@ var primarystorageActionMap = {
|
|||||||
afterActionSeccessFn: function(json, $midmenuItem1, id) {
|
afterActionSeccessFn: function(json, $midmenuItem1, id) {
|
||||||
var item = json.queryasyncjobresultresponse.jobresult.storagepool;
|
var item = json.queryasyncjobresultresponse.jobresult.storagepool;
|
||||||
primarystorageToMidmenu(item, $midmenuItem1);
|
primarystorageToMidmenu(item, $midmenuItem1);
|
||||||
primarystorageToRightPanel($midmenuItem1);
|
//primarystorageToRightPanel($midmenuItem1);
|
||||||
$("#right_panel_content #after_action_info").text("We are actively cancelling your scheduled maintenance. Please refresh periodically for an updated status.");
|
//$("#right_panel_content #after_action_info").text("We are actively cancelling your scheduled maintenance. Please refresh periodically for an updated status.");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Delete Primary Storage": {
|
"Delete Primary Storage": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user