aaeb532d by Adam Heath

s/id/key/ when reapplying new items to existing items.

1 parent 9c873f12
...@@ -276,7 +276,7 @@ define(function(require) { ...@@ -276,7 +276,7 @@ define(function(require) {
276 } else if (excludeValues[key]) { 276 } else if (excludeValues[key]) {
277 return; 277 return;
278 } 278 }
279 var item = items.get({id: key}); 279 var item = items.get({key: key});
280 if (item) { 280 if (item) {
281 item.set({hidden: value === 0, value: value}); 281 item.set({hidden: value === 0, value: value});
282 } else { 282 } else {
......