enabled data-theming

This commit is contained in:
scottjehl 2010-10-06 17:07:17 -04:00
parent 9f3de99095
commit 9e756ea9c1

View file

@ -24,7 +24,7 @@ $.fn.ajaxform = function(options){
action: $this.attr('action'),
injectResponse: true,//should be data-attr driven
dataFilter: $.formhandlers['default'], //should be data-attr driven
theme: 'b'
theme: $this.data('theme') || 'b'
}, options);
$this.addClass('ui-autoform ui-bar-'+o.theme);