[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AuthenticatedWebViewActivity.java #116

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update AuthenticatedWebViewActivity.java
I found this bug:
In View Site mode, disable your internet connection. Try to refresh (you get 404). Enable your internet, hit refresh, and you are redirected to login page.
This way, you login again and load the last url.
  • Loading branch information
mihai28 committed Sep 20, 2013
commit eeed4858104af58ca06cd4dbc147eecafa93007a
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

package org.wordpress.android.ui;

import java.io.UnsupportedEncodingException;
Expand Down Expand Up @@ -171,7 +170,8 @@ public boolean onOptionsItemSelected(final MenuItem item) {

int itemID = item.getItemId();
if (itemID == R.id.menu_refresh) {
mWebView.reload();
loadAuthenticatedUrl(mWebView.getUrl());
//mWebView.reload();
return true;
} else if (itemID == R.id.menu_share) {
Intent share = new Intent(Intent.ACTION_SEND);
Expand Down