mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-30 19:04:43 +00:00
enabled data-theming
This commit is contained in:
parent
9f3de99095
commit
9e756ea9c1
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue