form methods.

This commit is contained in:
Christopher Jeffrey 2014-01-16 23:54:19 -06:00
parent 9673eaf517
commit 1236f23f9e

View File

@ -4444,6 +4444,20 @@ Form.prototype.focusPrevious = function() {
this.previous().focus();
};
Form.prototype.resetSelected = function() {
this._selected = null;
};
Form.prototype.focusFirst = function() {
this.resetSelected();
this.next().focus();
};
Form.prototype.focusLast = function() {
this.resetSelected();
this.previous().focus();
};
Form.prototype.submit = function() {
var self = this
, out = {};