public/javascripts/inputex/build/inputex.js
function() {
       
      var buttonConf, button, i, buttonsNb = this.options.buttons.length;
      
      this.buttonDiv = inputEx.cn('div', {className: 'inputEx-Form-buttonBar'});

      for(i = 0 ; i < buttonsNb ; i++ ) {
         buttonConf = this.options.buttons[i];
   
         // Throw Error if button is undefined
         if(!buttonConf) {
            throw new Error("inputEx.Form: One of the provided button is undefined ! (check trailing comma)");
         }
         
         button = new inputEx.widget.Button(buttonConf);
         button.render(this.buttonDiv);
         
         this.buttons.push(button);
         
      }
      
      // useful for link buttons re-styling (float required on <a>'s ... )
      this.buttonDiv.appendChild(inputEx.cn('div',null,{clear:'both'}));
      
      this.form.appendChild(this.buttonDiv);
   }
function() {
       
      var buttonConf, button, i, buttonsNb = this.options.buttons.length;
      
      this.buttonDiv = inputEx.cn('div', {className: 'inputEx-Form-buttonBar'});

      for(i = 0 ; i < buttonsNb ; i++ ) {
         buttonConf = this.options.buttons[i];
   
         // Throw Error if button is undefined
         if(!buttonConf) {
            throw new Error("inputEx.Form: One of the provided button is undefined ! (check trailing comma)");
         }
         
         button = new inputEx.widget.Button(buttonConf);
         button.render(this.buttonDiv);
         
         this.buttons.push(button);
         
      }
      
      // useful for link buttons re-styling (float required on <a>'s ... )
      this.buttonDiv.appendChild(inputEx.cn('div',null,{clear:'both'}));
      
      this.form.appendChild(this.buttonDiv);
   }
function ( ) { var buttonConf , button , i , buttonsNb = this . options . buttons . length ; this . buttonDiv = inputEx . cn ( 'div' , { className : 'inputEx-Form-buttonBar' } ) ; for ( i = 0 ; i < buttonsNb ; i ++ ) { buttonConf = this . options . buttons [ i ] ; // Throw Error if button is undefined if ( ! buttonConf ) { throw new Error ( "inputEx.Form: One of the provided button is undefined ! (check trailing comma)" ) ; } button = new inputEx . widget . Button ( buttonConf ) ; button . render ( this . buttonDiv ) ; this . buttons . push ( button ) ; } // useful for link buttons re-styling (float required on <a>'s ... ) this . buttonDiv . appendChild ( inputEx . cn ( 'div' , null , { clear : 'both' } ) ) ; this . form . appendChild ( this . buttonDiv ) ; }
Render the buttons
Render the buttons