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:
Jessica Wang 2011-01-12 18:29:34 -08:00
parent 443d733665
commit 1e1f32fa2e

View File

@ -201,8 +201,8 @@ var primarystorageActionMap = {
afterActionSeccessFn: function(json, $midmenuItem1, id) {
var item = json.queryasyncjobresultresponse.jobresult.storagepool;
primarystorageToMidmenu(item, $midmenuItem1);
primarystorageToRightPanel($midmenuItem1);
$("#right_panel_content #after_action_info").text("We are actively enabling maintenance. Please refresh periodically for an updated status.");
//primarystorageToRightPanel($midmenuItem1);
//$("#right_panel_content #after_action_info").text("We are actively enabling maintenance. Please refresh periodically for an updated status.");
}
},
"Cancel Maintenance Mode": {
@ -213,8 +213,8 @@ var primarystorageActionMap = {
afterActionSeccessFn: function(json, $midmenuItem1, id) {
var item = json.queryasyncjobresultresponse.jobresult.storagepool;
primarystorageToMidmenu(item, $midmenuItem1);
primarystorageToRightPanel($midmenuItem1);
$("#right_panel_content #after_action_info").text("We are actively cancelling your scheduled maintenance. Please refresh periodically for an updated status.");
//primarystorageToRightPanel($midmenuItem1);
//$("#right_panel_content #after_action_info").text("We are actively cancelling your scheduled maintenance. Please refresh periodically for an updated status.");
}
},
"Delete Primary Storage": {