source: [view]
this.editor = editor;
this.statusBar = new dojox.editor.plugins._StatusBar();
if(this.resizer){
this.resizeHandle = new dojox.layout.ResizeHandle({targetId: this.editor, activeResize: true}, this.statusBar.handle);
this.resizeHandle.startup();
}else{
dojo.style(this.statusBar.handle.parentNode, "display", "none");
}
var pos = null;
if(editor.footer.lastChild){
pos = "after";
}
dojo.place(this.statusBar.domNode, editor.footer.lastChild || editor.footer, pos);
this.statusBar.startup();
this.editor.statusBar = this;
// Register a pub-sub event to listen for status bar messages, in addition to being available off
// the editor as a property 'statusBar'
this._msgListener = dojo.subscribe(this.editor.id + "_statusBar", dojo.hitch(this, this._setValueAttr));