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 : '<a href="https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=75o3wpchutc38g&state=edward.roojs&redirect_uri=http://localhost/web.eventmanager/demo.local.php" target="_blank"><img src="http://www.lifestylecareers.com.au/plugins/p10_mi_loginpanel/log-in-linkedin-small.png"/></a>'
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'