diff --git a/js/jquery.mobile.buttonMarkup.js b/js/jquery.mobile.buttonMarkup.js index 1df01aa7415..8275728c5c0 100644 --- a/js/jquery.mobile.buttonMarkup.js +++ b/js/jquery.mobile.buttonMarkup.js @@ -135,7 +135,7 @@ var attachEvents = function() { //links in bars, or those with data-role become buttons //auto self-init widgets -$( document ).bind( "pagecreate", function( e ){ +$( document ).bind( "pagecreate enhance", function( e ){ var exclude = ".ui-btn, :jqmData(role='none'), :jqmData(role='nojs')"; diff --git a/js/jquery.mobile.collapsible.js b/js/jquery.mobile.collapsible.js index fe58fde5346..2502e1843d7 100644 --- a/js/jquery.mobile.collapsible.js +++ b/js/jquery.mobile.collapsible.js @@ -7,7 +7,7 @@ ( function( $, undefined ) { //auto self-init widgets -$( document ).bind( "pagecreate", function( e ){ +$( document ).bind( "pagecreate enhance", function( e ){ $( "jqmData(role='collapsible')", e.target ).collapsible(); }); diff --git a/js/jquery.mobile.controlGroup.js b/js/jquery.mobile.controlGroup.js index 431f3f35057..73546573735 100644 --- a/js/jquery.mobile.controlGroup.js +++ b/js/jquery.mobile.controlGroup.js @@ -7,7 +7,7 @@ (function($, undefined ) { //auto self-init widgets -$( document ).bind( "pagecreate", function( e ){ +$( document ).bind( "pagecreate enhance", function( e ){ $( ":jqmData(role='controlgroup')", e.target ).controlgroup(); }); diff --git a/js/jquery.mobile.fieldContain.js b/js/jquery.mobile.fieldContain.js index 1c7cb821a1d..9b31998a211 100644 --- a/js/jquery.mobile.fieldContain.js +++ b/js/jquery.mobile.fieldContain.js @@ -7,7 +7,7 @@ (function($, undefined ) { //auto self-init widgets -$( document ).bind( "pagecreate", function( e ){ +$( document ).bind( "pagecreate enhance", function( e ){ $( ":jqmData(role='fieldcontain')", e.target ).fieldcontain(); }); diff --git a/js/jquery.mobile.forms.button.js b/js/jquery.mobile.forms.button.js index 36f3550d9dd..8a18248c323 100644 --- a/js/jquery.mobile.forms.button.js +++ b/js/jquery.mobile.forms.button.js @@ -7,7 +7,7 @@ (function($, undefined ) { //auto self-init widgets -$( document ).bind( "pagecreate", function( e ){ +$( document ).bind( "pagecreate enhance", function( e ){ $( "button, [type='button'], [type='submit'], [type='reset'], [type='image']", e.target ) .not( ":jqmData(role='none'), :jqmData(role='nojs')" ) .button(); diff --git a/js/jquery.mobile.forms.checkboxradio.js b/js/jquery.mobile.forms.checkboxradio.js index 4008d141fb7..f15e760fc4f 100644 --- a/js/jquery.mobile.forms.checkboxradio.js +++ b/js/jquery.mobile.forms.checkboxradio.js @@ -7,7 +7,7 @@ (function($, undefined ) { //auto self-init widgets -$( document ).bind( "pagecreate", function( e ){ +$( document ).bind( "pagecreate enhance", function( e ){ $( "input[type='checkbox'],input[type='radio']", e.target ) .not( ":jqmData(role='none'), :jqmData(role='nojs')" ) .checkboxradio(); diff --git a/js/jquery.mobile.forms.select.js b/js/jquery.mobile.forms.select.js index ff11b09d4c1..e37691fd432 100644 --- a/js/jquery.mobile.forms.select.js +++ b/js/jquery.mobile.forms.select.js @@ -7,7 +7,7 @@ (function($, undefined ) { //auto self-init widgets -$( document ).bind( "pagecreate", function( e ){ +$( document ).bind( "pagecreate enhance", function( e ){ $( "select:not(:jqmData(role='slider'))", e.target ) .not( ":jqmData(role='none'), :jqmData(role='nojs')" ) .selectmenu(); diff --git a/js/jquery.mobile.forms.slider.js b/js/jquery.mobile.forms.slider.js index 01b8602a350..1c8da9b3afc 100644 --- a/js/jquery.mobile.forms.slider.js +++ b/js/jquery.mobile.forms.slider.js @@ -7,7 +7,7 @@ (function($, undefined ) { //auto self-init widgets -$( document ).bind( "pagecreate", function( e ){ +$( document ).bind( "pagecreate enhance", function( e ){ var nativeSel = ":jqmData(role='none'), :jqmData(role='nojs')"; diff --git a/js/jquery.mobile.forms.textinput.js b/js/jquery.mobile.forms.textinput.js index 2fef8293987..28df9518b7e 100644 --- a/js/jquery.mobile.forms.textinput.js +++ b/js/jquery.mobile.forms.textinput.js @@ -7,7 +7,7 @@ (function($, undefined ) { //auto self-init widgets -$( document ).bind( "pagecreate", function( e ){ +$( document ).bind( "pagecreate enhance", function( e ){ $( "input[type='text'], input[type='search'], input[type='number'], input[type='password'], textarea", e.target ) .not( ":jqmData(role='none'), :jqmData(role='nojs')" ) .textinput(); diff --git a/js/jquery.mobile.listview.filter.js b/js/jquery.mobile.listview.filter.js index 10b005c22bb..27c2dc5fe37 100644 --- a/js/jquery.mobile.listview.filter.js +++ b/js/jquery.mobile.listview.filter.js @@ -9,7 +9,7 @@ $.mobile.listview.prototype.options.filter = false; $.mobile.listview.prototype.options.filterPlaceholder = "Filter items..."; -$( ":jqmData(role='listview')" ).live( "listviewcreate", function() { +$( ":jqmData(role='listview')" ).live( "listviewcreate enhance", function() { var list = $( this ), listview = list.data( "listview" ); diff --git a/js/jquery.mobile.listview.js b/js/jquery.mobile.listview.js index f96db35fa7a..f1797f31a76 100644 --- a/js/jquery.mobile.listview.js +++ b/js/jquery.mobile.listview.js @@ -7,7 +7,7 @@ (function($, undefined ) { //auto self-init widgets -$( document ).bind( "pagecreate", function( e ){ +$( document ).bind( "pagecreate enhance", function( e ){ $( ":jqmData(role='listview')", e.target ).listview(); }); diff --git a/js/jquery.mobile.navbar.js b/js/jquery.mobile.navbar.js index bbeeb701296..403c7d4120c 100755 --- a/js/jquery.mobile.navbar.js +++ b/js/jquery.mobile.navbar.js @@ -7,7 +7,7 @@ (function($, undefined ) { //auto self-init widgets -$( document ).bind( "pagecreate", function( e ){ +$( document ).bind( "pagecreate enhance", function( e ){ $( ":jqmData(role='navbar')", e.target ).navbar(); });