public/javascripts/inputex/build/inputex.js
function(originalIndex, newIndex) {
      if(originalIndex < newIndex) {
         this.items.splice(newIndex+1,0, this.items[originalIndex]);
         this.items[originalIndex] = null;
      }
      else {
         this.items.splice(newIndex,0, this.items[originalIndex]);
         this.items[originalIndex+1] = null;
      }      
      this.items = inputEx.compactArray(this.items);
      
      this.listReorderedEvt.fire();
   }
function(originalIndex, newIndex) {
      if(originalIndex < newIndex) {
         this.items.splice(newIndex+1,0, this.items[originalIndex]);
         this.items[originalIndex] = null;
      }
      else {
         this.items.splice(newIndex,0, this.items[originalIndex]);
         this.items[originalIndex+1] = null;
      }      
      this.items = inputEx.compactArray(this.items);
      
      this.listReorderedEvt.fire();
   }
function ( originalIndex , newIndex ) { if ( originalIndex < newIndex ) { this . items . splice ( newIndex + 1 , 0 , this . items [ originalIndex ] ) ; this . items [ originalIndex ] = null ; } else { this . items . splice ( newIndex , 0 , this . items [ originalIndex ] ) ; this . items [ originalIndex + 1 ] = null ; } this . items = inputEx . compactArray ( this . items ) ; this . listReorderedEvt . fire ( ) ; }
Called by the DDListItem when an item as been moved
Called by the DDListItem when an item as been moved