01org/appframework — pull request #506 by krisrak (2013-12-09 18:34:25+00:00)
Title: Prevent slide when there is no menu

Issues 2.1
-
slide is possible when there is no menu `

`

Test Case
-
remove `

` in kitchensink and try to swipe, notice that the panel slides away leaving a blank screen

Fix
-
added `if (!$.ui.isSideMenuEnabled()) return true;` check in `af.slidemenu.js`