don't clone items passed to list (fixes update)

This commit is contained in:
rlx 2013-08-09 18:38:47 +00:00
parent af3bcc67dd
commit 951e658003

View file

@ -22,7 +22,7 @@ Ox.ClipPanel = function(options, self) {
.update({
clips: function() {
self.$list.options({
items: Ox.clone(self.options.clips),
items: self.options.clips,
sort: self.options.sort,
sortable: isSortable()
});
@ -290,7 +290,7 @@ Ox.ClipPanel = function(options, self) {
columnsRemovable: true,
columnsResizable: true,
columnsVisible: true,
items: Ox.clone(self.options.clips),
items: self.options.clips,
scrollbarVisible: true,
sort: self.options.sort,
sortable: isSortable(),