Lines Matching refs:mode
514 createControl: function(mode, handler, extraClasses) { argument
515 var control = this.options[mode + 'Control'];
516 var text = this.options[mode + 'Text'];
521 btn.className = 'editor_' + mode + '_button';
522 if ('cancel' == mode)
525 this._controls[mode] = btn;
530 link.onclick = 'cancel' == mode ? this._boundCancelHandler : this._boundSubmitHandler;
531 link.className = 'editor_' + mode + '_link';
535 this._controls[mode] = link;
563 function addText(mode, condition) { argument
564 var text = ipe.options['text' + mode + 'Controls'];