01org/appframework — pull request #461 by krisrak (2013-11-18 22:43:07+00:00)
Title: allow sliding only if sidemenu is enabled

Issue
-
sliding was possible even if sidemenu is diabled

Test Case
-
open index.html kitchensink, in console type $.ui.disablesidemenu(), and then try slide, notice that slide is possible and it reveals empty side menu

Fix
-
added simple checker: `if (!$.ui.isSideMenuEnabled()) return true;`