contextpopup: Change option menu class name
authorYoumin Ha <youmin.ha@samsung.com>
Sat, 8 Jun 2013 10:07:06 +0000 (19:07 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Sat, 8 Jun 2013 10:32:43 +0000 (19:32 +0900)
Change option menu class name to 'ui-ctxpopup-optionmenu'.

Change-Id: Ie4f0d811b32e3bc345a4eabb51b89e3826a0ef7d

libs/patch/0047-JQM-context-popup-hardware-key-support.patch
src/js/widgets/jquery.mobile.tizen.pagelayout.js

index 0b6380a..7efe84e 100644 (file)
@@ -56,7 +56,7 @@ index 324b63f..0c5f37b 100644
                        }
 +
 +                      // Hadeware key style popup
-+                      if( $(self.element).hasClass( "hardware" ) ){
++                      if( $(self.element).hasClass( "ui-ctxpopup-optionmenu" ) ){
 +                              self.options.isHardwarePopup = true;
 +                              $( self._ui.arrow).hide();
 +                      }
index 6b62bfc..562361f 100644 (file)
@@ -427,7 +427,7 @@ define( [ '../jquery.mobile.tizen.core' ], function ( ) {
 
                        if( moreKey && moreKey.hash ) { // moreKey.hash = #morePopupID (from <a href="">)
                                $morePopup =  $( moreKey.hash );
-                               $morePopup.addClass ( "hardware" );
+                               $morePopup.addClass ( "ui-ctxpopup-optionmenu" );
                        }
                 },