|
@ -40,7 +40,6 @@ |
|
|
if( !this.wnd ){ |
|
|
if( !this.wnd ){ |
|
|
this.wnd = new Ext.Window({ |
|
|
this.wnd = new Ext.Window({ |
|
|
title: gettext('Administration'), |
|
|
title: gettext('Administration'), |
|
|
closable: false, |
|
|
|
|
|
layout: 'fit', |
|
|
layout: 'fit', |
|
|
items: new Ext.ux.IFrameComponent({ url: '/admin' }), |
|
|
items: new Ext.ux.IFrameComponent({ url: '/admin' }), |
|
|
width: viewsize.width - 200, |
|
|
width: viewsize.width - 200, |
|
@ -51,7 +50,13 @@ |
|
|
window.open( '/admin' ); |
|
|
window.open( '/admin' ); |
|
|
this.ownerCt.ownerCt.ownerButton.toggle( false ); |
|
|
this.ownerCt.ownerCt.ownerButton.toggle( false ); |
|
|
} |
|
|
} |
|
|
}] |
|
|
|
|
|
|
|
|
}], |
|
|
|
|
|
listeners: { |
|
|
|
|
|
beforeclose: function(){ |
|
|
|
|
|
this.ownerButton.toggle( false, false ); |
|
|
|
|
|
this.ownerButton.wnd = null; |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}); |
|
|
}); |
|
|
this.wnd.ownerButton = this; |
|
|
this.wnd.ownerButton = this; |
|
|
} |
|
|
} |
|
|