public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(e) {
      // Make sure terminalList is an array
      var terminalList = YAHOO.lang.isArray(this._WireItTerminals) ? this._WireItTerminals : (this._WireItTerminals.isWireItTerminal ? [this._WireItTerminals] : []);
      // Redraw all the wires
      for(var i = 0 ; i < terminalList.length ; i++) {
         if(terminalList[i].wires) {
            for(var k = 0 ; k < terminalList[i].wires.length ; k++) {
               terminalList[i].wires[k].redraw();
            }
         }
      }
   }
function(e) {
      // Make sure terminalList is an array
      var terminalList = YAHOO.lang.isArray(this._WireItTerminals) ? this._WireItTerminals : (this._WireItTerminals.isWireItTerminal ? [this._WireItTerminals] : []);
      // Redraw all the wires
      for(var i = 0 ; i < terminalList.length ; i++) {
         if(terminalList[i].wires) {
            for(var k = 0 ; k < terminalList[i].wires.length ; k++) {
               terminalList[i].wires[k].redraw();
            }
         }
      }
   }
function ( e ) { // Make sure terminalList is an array var terminalList = YAHOO . lang . isArray ( this . _WireItTerminals ) ? this . _WireItTerminals : ( this . _WireItTerminals . isWireItTerminal ? [ this . _WireItTerminals ] : [ ] ) ; // Redraw all the wires for ( var i = 0 ; i < terminalList . length ; i ++ ) { if ( terminalList [ i ] . wires ) { for ( var k = 0 ; k < terminalList [ i ] . wires . length ; k ++ ) { terminalList [ i ] . wires [ k ] . redraw ( ) ; } } } }
Override YAHOO.util.DD.prototype.onDrag to redraw the wires
@method onDrag
Override YAHOO . util . DD . prototype . onDrag to redraw the wires