diff --git a/astrid/plugin-src/com/todoroo/astrid/rmilk/MilkLoginActivity.java b/astrid/plugin-src/com/todoroo/astrid/rmilk/MilkLoginActivity.java index 2e5d350ac..3640ebac3 100644 --- a/astrid/plugin-src/com/todoroo/astrid/rmilk/MilkLoginActivity.java +++ b/astrid/plugin-src/com/todoroo/astrid/rmilk/MilkLoginActivity.java @@ -86,7 +86,7 @@ public class MilkLoginActivity extends Activity { setContentView(R.layout.rmilk_login_activity); setTitle(R.string.rmilk_MPr_header); - String urlParam = getIntent().getStringExtra(URL_TOKEN); + final String urlParam = getIntent().getStringExtra(URL_TOKEN); final WebView webView = (WebView)findViewById(R.id.browser); Button done = (Button)findViewById(R.id.done); @@ -119,11 +119,12 @@ public class MilkLoginActivity extends Activity { if(result == null) { finish(); } else { - // display the error + // display the error, re-load url handler.post(new Runnable() { public void run() { dialogUtilities.okDialog(MilkLoginActivity.this, result, null); + webView.loadUrl(urlParam); } }); }