mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
Feature #3748: New option tabInfo.setup
This commit is contained in:
parent
9a196ee079
commit
f93cce6903
@ -146,6 +146,12 @@ define(function(require) {
|
||||
Sunstone.addFormPanel(tabName, key, value)
|
||||
})
|
||||
}
|
||||
|
||||
if (tabInfo.setup) {
|
||||
var context = $('div#' + tabName, $('div.right-content'));
|
||||
|
||||
tabInfo.setup(context);
|
||||
}
|
||||
};
|
||||
|
||||
//If we have defined a block of action buttons in a tab,
|
||||
@ -911,7 +917,9 @@ define(function(require) {
|
||||
"getDataTable": _getDataTable,
|
||||
"getDialog": _getDialogInstance,
|
||||
|
||||
"insertButtonsInTab": _insertButtonsInTab
|
||||
"insertButtonsInTab": _insertButtonsInTab,
|
||||
|
||||
"TOP_INTERVAL": TOP_INTERVAL
|
||||
}
|
||||
|
||||
return Sunstone;
|
||||
|
Loading…
x
Reference in New Issue
Block a user