mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
remove an obsolete function.
This commit is contained in:
parent
2195b5b75c
commit
cc6ee7adde
@ -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<tabArray.length; tabIndex++) {
|
||||
switchToTab(tabIndex, tabArray, tabContentArray, afterSwitchFnArray);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user