Created
August 25, 2010 02:27
-
-
Save smart/548724 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void CRhodesApp::navigateToUrl( const String& strUrl) | |
{ | |
#ifdef OS_MACOSX | |
if (strUrl == canonicalizeRhoUrl("/jqtouch")) | |
{ | |
String longMan = "$('.content .navbar_link').trigger('tap')"; | |
rho_webview_execute_js(longMan.c_str(), 0); | |
return; | |
} | |
#endif | |
rho_webview_navigate(strUrl.c_str(), 0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment