Skip to content

Commit

Permalink
Merge pull request #250 from pec1985/timob-13902
Browse files Browse the repository at this point in the history
[TIMOB-13902] Fixed web view canGoBack and canGoForward
  • Loading branch information
pec1985 committed May 28, 2014
2 parents 0634cbb + 43ce774 commit 31d769c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,13 @@ Ti::TiValue TiUIWebViewProxy::getWillHandleTouches()
Ti::TiValue TiUIWebViewProxy::canGoBack(Ti::TiValue)
{
Ti::TiValue val;
val.setUndefined();
val.setBool(_tiWebView->getNativeWebView()->canGoBack());
return val;
}
Ti::TiValue TiUIWebViewProxy::canGoForward(Ti::TiValue)
{
Ti::TiValue val;
val.setUndefined();
val.setBool(_tiWebView->getNativeWebView()->canGoForward());
return val;
}
Ti::TiValue TiUIWebViewProxy::evalJS(Ti::TiValue val)
Expand Down

0 comments on commit 31d769c

Please sign in to comment.