Skip to content

Commit

Permalink
#49 Added fix for web view focus bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AVWORLD\jays6632 committed May 30, 2017
1 parent 4ef59a7 commit f97e403
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Portal/OAuthSignInView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ Item {
onLoadingChanged: {
//console.log("webView.title", title);

if (loadRequest.status == WebView.LoadSucceededStatus) {
forceActiveFocus();
}

if (title.indexOf("SUCCESS code=") > -1) {
var authorizationCode = title.replace("SUCCESS code=", "");
accepted(authorizationCode);
Expand Down

0 comments on commit f97e403

Please sign in to comment.