public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function() {
      
      this.editorContainer = inputEx.cn('div', {className: CSS_PREFIX+'editor'}, {display: 'none'});
      
      // Render the editor field
      this.editorField = inputEx(this.options.editorField,this);
      var editorFieldEl = this.editorField.getEl();
      
      this.editorContainer.appendChild( editorFieldEl );
      Dom.addClass( editorFieldEl , CSS_PREFIX+'editorDiv');
      
      this.okButton = new inputEx.widget.Button({
         type: this.options.buttonTypes.ok,
         parentEl: this.editorContainer,
         value: inputEx.messages.okEditor,
         className: "inputEx-Button "+CSS_PREFIX+'OkButton',
         onClick: {fn: this.onOkEditor, scope:this}
      });

      this.cancelLink = new inputEx.widget.Button({
         type: this.options.buttonTypes.cancel,
         parentEl: this.editorContainer,
         value: inputEx.messages.cancelEditor,
         className: "inputEx-Button "+CSS_PREFIX+'CancelLink',
         onClick: {fn: this.onCancelEditor, scope:this}
      });
      
      // Line breaker ()
      this.editorContainer.appendChild( inputEx.cn('div',null, {clear: 'both'}) );
      
      this.fieldContainer.appendChild(this.editorContainer);
      
   }
function() {
      
      this.editorContainer = inputEx.cn('div', {className: CSS_PREFIX+'editor'}, {display: 'none'});
      
      // Render the editor field
      this.editorField = inputEx(this.options.editorField,this);
      var editorFieldEl = this.editorField.getEl();
      
      this.editorContainer.appendChild( editorFieldEl );
      Dom.addClass( editorFieldEl , CSS_PREFIX+'editorDiv');
      
      this.okButton = new inputEx.widget.Button({
         type: this.options.buttonTypes.ok,
         parentEl: this.editorContainer,
         value: inputEx.messages.okEditor,
         className: "inputEx-Button "+CSS_PREFIX+'OkButton',
         onClick: {fn: this.onOkEditor, scope:this}
      });

      this.cancelLink = new inputEx.widget.Button({
         type: this.options.buttonTypes.cancel,
         parentEl: this.editorContainer,
         value: inputEx.messages.cancelEditor,
         className: "inputEx-Button "+CSS_PREFIX+'CancelLink',
         onClick: {fn: this.onCancelEditor, scope:this}
      });
      
      // Line breaker ()
      this.editorContainer.appendChild( inputEx.cn('div',null, {clear: 'both'}) );
      
      this.fieldContainer.appendChild(this.editorContainer);
      
   }
function ( ) { this . editorContainer = inputEx . cn ( 'div' , { className : CSS_PREFIX + 'editor' } , { display : 'none' } ) ; // Render the editor field this . editorField = inputEx ( this . options . editorField , this ) ; var editorFieldEl = this . editorField . getEl ( ) ; this . editorContainer . appendChild ( editorFieldEl ) ; Dom . addClass ( editorFieldEl , CSS_PREFIX + 'editorDiv' ) ; this . okButton = new inputEx . widget . Button ( { type : this . options . buttonTypes . ok , parentEl : this . editorContainer , value : inputEx . messages . okEditor , className : "inputEx-Button " + CSS_PREFIX + 'OkButton' , onClick : { fn : this . onOkEditor , scope : this } } ) ; this . cancelLink = new inputEx . widget . Button ( { type : this . options . buttonTypes . cancel , parentEl : this . editorContainer , value : inputEx . messages . cancelEditor , className : "inputEx-Button " + CSS_PREFIX + 'CancelLink' , onClick : { fn : this . onCancelEditor , scope : this } } ) ; // Line breaker () this . editorContainer . appendChild ( inputEx . cn ( 'div' , null , { clear : 'both' } ) ) ; this . fieldContainer . appendChild ( this . editorContainer ) ; }
Render the editor
Render the editor