"modOrder" : "006",
"strings" : {
"ce8ae9da5b7cd6c3df2929543a9af92d" : "Email",
- "ec211f7c20af43e742bf2570c3cb84f9" : "Add",
"86f16ddf147752b95ffe69e2dfa769a1" : "Authorized By",
"ec53a8c4f07baed5d8825072c89799be" : "Status",
"7dce122004969d56ae2e0245cb754d35" : "Edit",
"xtype" : "Column",
"$ xns" : "Roo.bootstrap",
"items" : [
- {
- "listeners" : {
- "click" : "function (_self, e)\n{\n var sel = _this.type_grid.getSelectionModel().getSelected();\n \n if(!sel || sel.data.id * 1 < 1 || !sel.data.name.length ){\n Roo.bootstrap.MessageBox.alert('Error', 'Please select a type');\n return;\n }\n\n Pman.Dialog.BAdminCoreEnum.show({ \n id : 0,\n etype : sel.data.name\n }, function(res) {\n _this.option_grid.store.load({});\n });\n\n}"
- },
- "String cls" : "roo-toolbar-button",
- "String weight" : "default",
- "xtype" : "Button",
- "$ xns" : "Roo.bootstrap",
- "String html" : "Add",
- "String glyphicon" : "plus"
- },
{
"listeners" : {
"render" : "function (_self)\n{\n _this.edit_btn = this;\n \n this.hide();\n}",
_strings : {
'ce8ae9da5b7cd6c3df2929543a9af92d' :"Email",
- 'ec211f7c20af43e742bf2570c3cb84f9' :"Add",
'86f16ddf147752b95ffe69e2dfa769a1' :"Authorized By",
'ec53a8c4f07baed5d8825072c89799be' :"Status",
'7dce122004969d56ae2e0245cb754d35' :"Edit",
xns : Roo.bootstrap,
'|xns' : 'Roo.bootstrap',
items : [
- {
- xtype : 'Button',
- cls : 'roo-toolbar-button',
- glyphicon : 'plus',
- html : _this._strings['ec211f7c20af43e742bf2570c3cb84f9'] /* Add */,
- weight : 'default',
- listeners : {
- click : function (_self, e)
- {
- var sel = _this.type_grid.getSelectionModel().getSelected();
-
- if(!sel || sel.data.id * 1 < 1 || !sel.data.name.length ){
- Roo.bootstrap.MessageBox.alert('Error', 'Please select a type');
- return;
- }
-
- Pman.Dialog.BAdminCoreEnum.show({
- id : 0,
- etype : sel.data.name
- }, function(res) {
- _this.option_grid.store.load({});
- });
-
- }
- },
- xns : Roo.bootstrap,
- '|xns' : 'Roo.bootstrap'
- },
{
xtype : 'Button',
cls : 'roo-toolbar-button',