This commit is contained in:
iangilman 2013-08-14 10:44:10 -07:00
commit 125a7134ec

View file

@ -47,6 +47,12 @@
controls: []
}, options );
// Disable the form's submit; otherwise button clicks and return keys
// can trigger it.
this.container.onsubmit = function() {
return false;
};
if( this.element ){
this.element = $.getElement( this.element );
this.element.appendChild( this.container );