1
0
Fork 0
forked from 0x2620/oxjs

cleanup, again

This commit is contained in:
rolux 2011-11-03 16:42:41 +01:00
commit 094b1a59ec
34 changed files with 93 additions and 101 deletions

View file

@ -98,7 +98,6 @@ Ox.Editable = function(options, self) {
width: width /*+ Ox.UI.SCROLLBAR_SIZE*/ + 'px'
});
}
//self.$input.find('input').css({width: width + 2})
/*
that.triggerEvent('change', {
value: event.value
@ -177,7 +176,7 @@ Ox.Editable = function(options, self) {
return self.options.type == 'input'
? self.options.value.replace(/ /g, ' ')
: Ox.parseHTML(self.options.value || ' ')
.replace(/<br\/?>$/, '<br/>&nbsp;');
.replace(/<br\/?>$/, '<br/>&nbsp;');
}
function formatValue() {