add Ox.ArrayEditable
This commit is contained in:
parent
39f9e9bb4d
commit
7d3f72ecc9
5 changed files with 226 additions and 1 deletions
|
|
@ -70,6 +70,7 @@ Ox.Editable = function(options, self) {
|
|||
self.$input.value(formatInputValue()).hide();
|
||||
self.$test.html(formatTestValue());
|
||||
self.$value.html(formatValue()).show();
|
||||
that.triggerEvent('cancel', {value: self.options.value});
|
||||
}
|
||||
|
||||
function change(event) {
|
||||
|
|
@ -156,7 +157,7 @@ Ox.Editable = function(options, self) {
|
|||
}
|
||||
// fixme: why can't this be chained?
|
||||
setTimeout(function() {
|
||||
self.$input.focusInput(false);
|
||||
self.$input.focusInput(true);
|
||||
}, 0);
|
||||
that.$tooltip && that.$tooltip.options({title: ''});
|
||||
that.triggerEvent('edit', {editing: true});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue