Demo: apply css 'user-select:none'
authorhjnim.kim <hjnim.kim@samsung.com>
Thu, 17 Jan 2013 07:50:41 +0000 (16:50 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Thu, 17 Jan 2013 08:50:22 +0000 (17:50 +0900)
Apply css 'user-select:none' whole page in main.js(index.html)

Change-Id: I7050b681ee3015d967ed0cbda3eb82e98c9dd62d

demos/tizen-winsets/main.js

index a34d1fb..5bb4e5e 100755 (executable)
@@ -165,6 +165,9 @@ $( document ).bind("pagecreate", function () {
        });
 });
 
+$(document).bind( "pageinit" , function() {
+       $.mobile.tizen.enableSelection( $("div:jqmData(role='page')"), 'none');
+});
 $(document).ready( function () {
        // add current datetime with browser language format
        // NOTE: Globalize.* functions must be run after docoument ready.