-FolderDDropControler.prototype._updateCBIndex = function() {
- var cbs = this.listing.getElementsByTagName('INPUT');
- var index = 0;
- var cb, i;
- this.checkboxes = [];
- for (i=0 ; i < cbs.length ; i++) {
- cb = cbs[i];
- if (cb.type === 'checkbox') {
- cb.position = index++;
- this.checkboxes[cb.position] = cb;
- }
- }
+FolderDDropControler.prototype._updatePositions = function() {
+ var rows = this.listing.getElementsByTagName("TR");
+ var i;
+ for (i=0 ; i < rows.length ; i++ ) {
+ rows[i].pos = i + this.firstItemPos; }
+