Naviframe : remove useless persist fixedbar control
authorJinhyuk Jun <jinhyuk.jun@samsung.com>
Tue, 5 Mar 2013 04:54:30 +0000 (13:54 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Thu, 7 Mar 2013 12:10:32 +0000 (21:10 +0900)
Change-Id: I2e7a68ab8913a413506a6d50389dd09f253229d0

src/js/widgets/jquery.mobile.tizen.pagelayout.js

index 0e2980e..83df532 100644 (file)
@@ -43,7 +43,6 @@ define( [ '../jquery.mobile.tizen.core' ], function ( ) {
                        tapToggleBlacklist: "a, input, select, textarea, .ui-header-fixed, .ui-footer-fixed",
                        hideDuringFocus: "input, textarea, select",
                        updatePagePadding: true,
-                       trackPersistentToolbars: true,
                        // Browser detection! Weeee, here we go...
                        // Unfortunately, position:fixed is costly, not to mention probably impossible, to feature-detect accurately.
                        // Some tests exist, but they currently return false results in critical devices and browsers, which could lead to a broken experience.
@@ -240,24 +239,6 @@ define( [ '../jquery.mobile.tizen.core' ], function ( ) {
                                        if ( o.updatePagePadding ) {
                                                $( window ).unbind( "throttledresize." + self.widgetName );
                                        }
-
-                                       if ( o.trackPersistentToolbars ) {
-                                               var thisFooter = $( ".ui-footer-fixed:jqmData(id)", this ),
-                                                       thisHeader = $( ".ui-header-fixed:jqmData(id)", this ),
-                                                       nextFooter = thisFooter.length && ui.nextPage && $( ".ui-footer-fixed:jqmData(id='" + thisFooter.jqmData( "id" ) + "')", ui.nextPage ),
-                                                       nextHeader = thisHeader.length && ui.nextPage && $( ".ui-header-fixed:jqmData(id='" + thisHeader.jqmData( "id" ) + "')", ui.nextPage );
-
-                                               nextFooter = nextFooter || $();
-
-                                               if ( nextFooter.length || nextHeader.length ) {
-
-                                                       nextFooter.add( nextHeader ).appendTo( $.mobile.pageContainer );
-
-                                                       ui.nextPage.one( "pageshow", function () {
-                                                               nextFooter.add( nextHeader ).appendTo( this );
-                                                       });
-                                               }
-                                       }
                                });
 
                        window.addEventListener( "softkeyboardchange", function ( e ) {