2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
8 Roo.example = Roo.example || {};
10 Roo.example.modal = new Roo.XComponent({
11 part : ["layout","modal"],
14 parent : '#bootstrap',
15 name : "unnamed module",
21 el : new Roo.bootstrap.Body()
23 this.parent.el.layout = false;
24 this.parent.el.render(document.body);
28 var baseURL = '/web.eventmanager/admin.php';
34 buttons : Roo.bootstrap.Modal.OKCANCEL,
36 btnclick : function (name, e) {
38 _this.loginModal.hide();
43 render : function (_self) {
44 _this.loginModal = _self;
51 html : '<script type="IN/Login"></script>'
57 style : 'margin-top:20px',
63 actioncomplete : function (_self, action) {
64 if (action.type =='submit') {
65 _this.loginModal.hide();
80 fieldLabel : 'Password',
81 inputType : 'password'