Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- createWindow : function(src){
- var desktop = this.app.getDesktop();
- var win = desktop.getWindow('bogus'+src.windowId);
- if(!win){
- win = desktop.createWindow({
- id: 'bogus'+src.windowId,
- //id: 'workHistory',
- title:src.text,
- width:640,
- height:480,
- //html : '<p>This is the Work History!</p>',
- autoload: 'data/work.html',
- autoscroll: true,
- iconCls: 'bogus',
- shim:false,
- animCollapse:false,
- constrainHeader:true
- });
- }
- win.show();
- win.load( 'data/work.html' );
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement