don't clone items passed to list (fixes update)
This commit is contained in:
parent
af3bcc67dd
commit
951e658003
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ Ox.ClipPanel = function(options, self) {
|
||||||
.update({
|
.update({
|
||||||
clips: function() {
|
clips: function() {
|
||||||
self.$list.options({
|
self.$list.options({
|
||||||
items: Ox.clone(self.options.clips),
|
items: self.options.clips,
|
||||||
sort: self.options.sort,
|
sort: self.options.sort,
|
||||||
sortable: isSortable()
|
sortable: isSortable()
|
||||||
});
|
});
|
||||||
|
@ -290,7 +290,7 @@ Ox.ClipPanel = function(options, self) {
|
||||||
columnsRemovable: true,
|
columnsRemovable: true,
|
||||||
columnsResizable: true,
|
columnsResizable: true,
|
||||||
columnsVisible: true,
|
columnsVisible: true,
|
||||||
items: Ox.clone(self.options.clips),
|
items: self.options.clips,
|
||||||
scrollbarVisible: true,
|
scrollbarVisible: true,
|
||||||
sort: self.options.sort,
|
sort: self.options.sort,
|
||||||
sortable: isSortable(),
|
sortable: isSortable(),
|
||||||
|
|
Loading…
Reference in a new issue