1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Roo.namespace('cards');
7 cards.js = new Roo.XComponent({
10 '9e727fdd3aec8274f46685441900280d' :"Project",
11 '6a58f977f2b623b695a340766f2a6843' :"Select Project",
12 '1243daf593fa297e07ab03bf06d925af' :"Searching...",
13 'cd81f9f55969c822377f076017bb3484' :"Cards",
14 '24f27bda5dd2c488aa9bc7700ba98c34' :"Select Projects"
17 'project_id_name_emptyText' : '6a58f977f2b623b695a340766f2a6843' /* Select Project */ ,
18 'project_id_name_loadingText' : '1243daf593fa297e07ab03bf06d925af' /* Searching... */ ,
19 'project_id_name_qtip' : '24f27bda5dd2c488aa9bc7700ba98c34' /* Select Projects */ ,
20 'project_id_name_fieldLabel' : '9e727fdd3aec8274f46685441900280d' /* Project */
23 part : ["bootstrap", "js" ],
24 order : '001-cards.js',
27 name : "unnamed module",
30 _tree : function(_data)
39 loadCards : function() {
42 if (this.cardRow == false) {
43 this.cardRow = this.addxtype({
50 _this.content.cardRow.updateHeight(_this.content.el.getHeight());
56 title : _this._strings['cd81f9f55969c822377f076017bb3484'] /* Cards */,
58 activate : function (_self)
62 render : function (_self)
66 resize : function (_self, width, height)
68 this.cardRow.updateHeight(height);
71 xns : Roo.bootstrap.panel,
72 '|xns' : 'Roo.bootstrap.panel',
74 xtype : 'NavSimplebar',
76 '|xns' : 'Roo.bootstrap',
81 '|xns' : 'Roo.bootstrap',
86 '|xns' : 'Roo.bootstrap',
91 '|xns' : 'Roo.bootstrap',
96 displayField : 'name',
98 emptyText : _this._strings['6a58f977f2b623b695a340766f2a6843'] /* Select Project */,
99 fieldLabel : _this._strings['9e727fdd3aec8274f46685441900280d'] /* Project */,
100 forceSelection : true,
101 hiddenName : 'project_id',
103 loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
106 name : 'project_id_name',
108 qtip : _this._strings['24f27bda5dd2c488aa9bc7700ba98c34'] /* Select Projects */,
109 queryParam : 'query[name]',
110 selectOnFocus : true,
111 tpl : '<a class=\"dropdown-item\" href=\"#\"> {name} </a>',
112 triggerAction : 'all',
116 render : function (_self)
118 _this.projectSel = this;
120 select : function (combo, record, index)
122 _this.content.loadCards();
126 '|xns' : 'Roo.bootstrap',
130 sortInfo : { direction : 'ASC', field: 'name' },
132 beforeload : function (_self, o){
133 o.params = o.params || {};
142 url : baseURL + '/Roo/core_project',
147 xtype : 'JsonReader',
148 fields : [{"name":"id","type":"int"},{"name":"name","type":"string"}],
151 totalProperty : 'total',