From 763f256e12b086499de3a6ec8fa537ddfd3e39ff Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Wed, 24 Sep 2014 20:14:57 +0200 Subject: [PATCH] ..clone -> .clone --- source/Ox.UI/js/Form/Editable.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Form/Editable.js b/source/Ox.UI/js/Form/Editable.js index 82fcf16d..cabfa8af 100644 --- a/source/Ox.UI/js/Form/Editable.js +++ b/source/Ox.UI/js/Form/Editable.js @@ -159,8 +159,7 @@ Ox.Editable = function(options, self) { }) .appendTo(that); self.$input.find('input').css(self.css); - // FIXME: does this work without $element? - self.$test = self.$value.$element.clone() + self.$test = self.$value.clone() .css(Ox.extend({display: 'inline-block'}, self.css)) .html(formatTestValue()) .css({background: 'rgb(192, 192, 192)'})