autosubmit method

This commit is contained in:
vitalets
2012-11-30 18:48:42 +04:00
parent 49d795bf0d
commit ed836c2271
6 changed files with 64 additions and 20 deletions

@ -127,7 +127,14 @@ To create your own input you should inherit from this class.
**/
escape: function(str) {
return $('<div>').text(str).html();
}
},
/**
attach handler to automatically submit form when value changed (usefull when buttons not shown)
**/
autosubmit: function() {
}
};
Abstract.defaults = {