1
0
Fork 0
forked from 0x2620/oxjs

appendTo(that.$element) -> appendTo(that)

This commit is contained in:
rolux 2012-06-26 18:21:39 +02:00
commit 244591d57e
13 changed files with 37 additions and 37 deletions

View file

@ -151,13 +151,13 @@ Ox.Editable = function(options, self) {
},
submit: submit
})
.appendTo(that.$element);
.appendTo(that);
self.$input.find('input').css(self.css);
self.$test = self.$value.$element.clone()
.css(Ox.extend({display: 'inline-block'}, self.css))
.html(formatTestValue())
.css({background: 'rgb(192, 192, 192)'})
.appendTo(that.$element);
.appendTo(that);
}
self.minWidth = 8;
self.maxWidth = that.parent().width();

View file

@ -285,7 +285,7 @@ Ox.Input = function(options, self) {
.blur(blur)
.change(change)
.focus(focus)
.appendTo(that.$element);
.appendTo(that);
if (self.options.type == 'textarea') {
Ox.Log('Form', 'TEXTAREA', self.options.width, self.options.height, '...', that.css('width'), that.css('height'), '...', self.$input.css('width'), self.$input.css('height'), '...', self.$input.css('border'))
@ -339,7 +339,7 @@ Ox.Input = function(options, self) {
})
.val(self.options.placeholder)
.focus(focus)
.appendTo(that.$element);
.appendTo(that);
}
if (self.options.autocomplete && self.options.autocompleteSelect) {

View file

@ -97,7 +97,7 @@ Ox.Range = function(options, self) {
clickArrow(data, i, false);
}
})
.appendTo(that.$element);
.appendTo(that);
});
}
@ -114,7 +114,7 @@ Ox.Range = function(options, self) {
}, self.options.changeOnDrag ? {} : {
dragend: dragendTrack
}))
.appendTo(that.$element);
.appendTo(that);
self.trackColors && setTrackColors();