1
0
mirror of synced 2024-11-25 06:16:08 +03:00

fix buildChangeDetails for MultiSelect

This commit is contained in:
Ted Liang 2014-12-10 14:02:30 +11:00
parent 2ee7fadfce
commit 5c9e81053e

View File

@ -3261,11 +3261,9 @@ the specific language governing permissions and limitations under the Apache Lic
for (var j = 0; j < old.length; j++) { for (var j = 0; j < old.length; j++) {
if (equal(this.opts.id(current[i]), this.opts.id(old[j]))) { if (equal(this.opts.id(current[i]), this.opts.id(old[j]))) {
current.splice(i, 1); current.splice(i, 1);
if(i>0){ i--;
i--;
}
old.splice(j, 1); old.splice(j, 1);
j--; break;
} }
} }
} }