Backlog #2151
Updated by Daniel Molina almost 8 years ago
Currently it's not supported, since the tab does not contain this buttons
<pre>
@ var button = Sunstone.getButton(tab_id,value);
"getButton" : function(tab_id,button_name){
var button = null;
var buttons = SunstoneCfg["tabs"][tab_id]["buttons"];
button = buttons[button_name];
//not found, is it in the list then?
if (!button && buttons["action_list"])
{
button = buttons["action_list"]["actions"][button_name];
}
return button;
}
</pre> }@
<pre>
@ var button = Sunstone.getButton(tab_id,value);
"getButton" : function(tab_id,button_name){
var button = null;
var buttons = SunstoneCfg["tabs"][tab_id]["buttons"];
button = buttons[button_name];
//not found, is it in the list then?
if (!button && buttons["action_list"])
{
button = buttons["action_list"]["actions"][button_name];
}
return button;
}
</pre> }@