public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function() {
      this.formattedContainer = inputEx.cn('div', {className: 'inputEx-InPlaceEdit-visu'});
      
      if( lang.isFunction(this.options.formatDom) ) {
         this.formattedContainer.appendChild( this.options.formatDom(this.options.value) );
      }
      else if( lang.isFunction(this.options.formatValue) ) {
         this.formattedContainer.innerHTML = this.options.formatValue(this.options.value);
      }
      else {
         this.formattedContainer.innerHTML = lang.isUndefined(this.options.value) ? inputEx.messages.emptyInPlaceEdit: this.options.value;
      }
      
      this.fieldContainer.appendChild(this.formattedContainer);
      
   }
function() {
      this.formattedContainer = inputEx.cn('div', {className: 'inputEx-InPlaceEdit-visu'});
      
      if( lang.isFunction(this.options.formatDom) ) {
         this.formattedContainer.appendChild( this.options.formatDom(this.options.value) );
      }
      else if( lang.isFunction(this.options.formatValue) ) {
         this.formattedContainer.innerHTML = this.options.formatValue(this.options.value);
      }
      else {
         this.formattedContainer.innerHTML = lang.isUndefined(this.options.value) ? inputEx.messages.emptyInPlaceEdit: this.options.value;
      }
      
      this.fieldContainer.appendChild(this.formattedContainer);
      
   }
function ( ) { this . formattedContainer = inputEx . cn ( 'div' , { className : 'inputEx-InPlaceEdit-visu' } ) ; if ( lang . isFunction ( this . options . formatDom ) ) { this . formattedContainer . appendChild ( this . options . formatDom ( this . options . value ) ) ; } else if ( lang . isFunction ( this . options . formatValue ) ) { this . formattedContainer . innerHTML = this . options . formatValue ( this . options . value ) ; } else { this . formattedContainer . innerHTML = lang . isUndefined ( this . options . value ) ? inputEx . messages . emptyInPlaceEdit : this . options . value ; } this . fieldContainer . appendChild ( this . formattedContainer ) ; }
Create the div that will contain the visualization of the value
Create the div that will contain the visualization of the value