fix a bug in array editable
This commit is contained in:
parent
0800fd8f37
commit
e6df7f31bd
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,9 @@ Ox.ArrayEditable = function(options, self) {
|
|||
},
|
||||
placeholder: function() {
|
||||
if (self.options.items.length == 0) {
|
||||
self.$items[0].options({value: self.options.placeholder});
|
||||
self.$items[0]
|
||||
.options({value: self.options.placeholder})
|
||||
.addClass('OxPlaceholder');
|
||||
}
|
||||
},
|
||||
selected: function() {
|
||||
|
|
Loading…
Reference in a new issue