Changeset 12714


Ignore:
Timestamp:
Aug 24, 2011, 12:05:50 AM (10 years ago)
Author:
livings124
Message:

fix "Error: remove is not defined"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/transmission.js

    r12709 r12714  
    18741874                var keep = [ ]
    18751875                var elements = [ ]
     1876                var removedAny = false
    18761877
    18771878                for(var i=0, row; row=this._rows[i]; ++i) {
     
    18811882                                keep.push( row )
    18821883                        else {
     1884                removedAny = true
    18831885                                delete this._torrents[ tid ]
    18841886                                $(row.getElement()).remove()
     
    18881890                this._rows = keep
    18891891
    1890                 return remove.length > 0
     1892                return removedAny
    18911893        },
    18921894
Note: See TracChangeset for help on using the changeset viewer.