From e6df7f31bd87c6d63f1dd9635a2bf624cc09a2b6 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 8 Mar 2013 16:58:29 +0530 Subject: [PATCH] fix a bug in array editable --- source/Ox.UI/js/Form/ArrayEditable.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Form/ArrayEditable.js b/source/Ox.UI/js/Form/ArrayEditable.js index 0630db45..00a0f5aa 100644 --- a/source/Ox.UI/js/Form/ArrayEditable.js +++ b/source/Ox.UI/js/Form/ArrayEditable.js @@ -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() {