modified doc
bzr revid: nicolas.vanhoren@openerp.com-20121105150540-yhcfpoiwffv6kjs3
This commit is contained in:
parent
a4dd317271
commit
cd88f9ec02
|
@ -2022,7 +2022,7 @@ instance.web.form.FieldInterface = {
|
||||||
on_translate: function() {},
|
on_translate: function() {},
|
||||||
/**
|
/**
|
||||||
This method is called by the form view before reading on_change values and before saving. It tells
|
This method is called by the form view before reading on_change values and before saving. It tells
|
||||||
the field to save its value before reading it using get_value(). Must return a deferred.
|
the field to save its value before reading it using get_value(). Must return a promise.
|
||||||
*/
|
*/
|
||||||
commit_value: function() {},
|
commit_value: function() {},
|
||||||
};
|
};
|
||||||
|
@ -2265,7 +2265,7 @@ instance.web.form.FieldChar = instance.web.form.AbstractField.extend(instance.we
|
||||||
},
|
},
|
||||||
focus: function() {
|
focus: function() {
|
||||||
this.$('input:first').focus();
|
this.$('input:first').focus();
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
instance.web.form.FieldID = instance.web.form.FieldChar.extend({
|
instance.web.form.FieldID = instance.web.form.FieldChar.extend({
|
||||||
|
|
Loading…
Reference in New Issue