diff --git a/ui/scripts/cloud.core.js b/ui/scripts/cloud.core.js index c74ad341071..39a47dd5391 100644 --- a/ui/scripts/cloud.core.js +++ b/ui/scripts/cloud.core.js @@ -702,28 +702,6 @@ function bindClickToMidMenu($midmenuItem1, toRightPanelFn, getMidmenuIdFn) { }); } -function initializeEditFunction($readonlyFields, $editFields, doUpdateFn) { - $("#edit_button").bind("click", function(event){ - $readonlyFields.hide(); - $editFields.show(); - $("#cancel_button, #save_button").show() - return false; - }); - $("#cancel_button").bind("click", function(event){ - $editFields.hide(); - $readonlyFields.show(); - $("#save_button, #cancel_button").hide(); - return false; - }); - $("#save_button").bind("click", function(event){ - doUpdateFn(); - $editFields.hide(); - $readonlyFields.show(); - $("#save_button, #cancel_button").hide(); - return false; - }); -} - function switchBetweenDifferentTabs(tabArray, tabContentArray, afterSwitchFnArray) { for(var tabIndex=0; tabIndex