public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(fieldInstance,fieldValue) {
      
      var index = inputEx.indexOf(fieldInstance, this.inputs);
      var fieldConfig = this.options.fields[index];
      if( YAHOO.lang.isUndefined(fieldConfig.interactions) ) return;
      
      // Let's run the interactions !
      var interactions = fieldConfig.interactions;
      for(var i = 0 ; i < interactions.length ; i++) {
         var interaction = interactions[i];
         if(interaction.valueTrigger === fieldValue) {
            for(var j = 0 ; j < interaction.actions.length ; j++) {
               this.runAction(interaction.actions[j], fieldValue);
            }
         }
      }
      
   }
function(fieldInstance,fieldValue) {
      
      var index = inputEx.indexOf(fieldInstance, this.inputs);
      var fieldConfig = this.options.fields[index];
      if( YAHOO.lang.isUndefined(fieldConfig.interactions) ) return;
      
      // Let's run the interactions !
      var interactions = fieldConfig.interactions;
      for(var i = 0 ; i < interactions.length ; i++) {
         var interaction = interactions[i];
         if(interaction.valueTrigger === fieldValue) {
            for(var j = 0 ; j < interaction.actions.length ; j++) {
               this.runAction(interaction.actions[j], fieldValue);
            }
         }
      }
      
   }
function ( fieldInstance , fieldValue ) { var index = inputEx . indexOf ( fieldInstance , this . inputs ) ; var fieldConfig = this . options . fields [ index ] ; if ( YAHOO . lang . isUndefined ( fieldConfig . interactions ) ) return ; // Let's run the interactions ! var interactions = fieldConfig . interactions ; for ( var i = 0 ; i < interactions . length ; i ++ ) { var interaction = interactions [ i ] ; if ( interaction . valueTrigger === fieldValue ) { for ( var j = 0 ; j < interaction . actions . length ; j ++ ) { this . runAction ( interaction . actions [ j ] , fieldValue ) ; } } } }
Run the interactions for the given field instance
@param {inputEx.Field} fieldInstance Field that just changed
@param {Any} fieldValue Field value
Run the interactions for the given field instance