fix a bug in array editable

This commit is contained in:
rolux 2013-03-08 16:58:29 +05:30
parent 0800fd8f37
commit e6df7f31bd

View file

@ -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() {