Jdlrobson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/64619


Change subject: Nearby: When location lookup fails try again until location can 
be found
......................................................................

Nearby: When location lookup fails try again until location can be found

Change-Id: Ib34ac0055530dd2fe3421084fa53d7ef3165c425
---
M javascripts/specials/nearby.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/19/64619/1

diff --git a/javascripts/specials/nearby.js b/javascripts/specials/nearby.js
index 825c8a6..c7d2184 100644
--- a/javascripts/specials/nearby.js
+++ b/javascripts/specials/nearby.js
@@ -181,7 +181,7 @@
                },
                function() {
                        popup.show( mw.message( 
'mobile-frontend-nearby-lookup-error' ).plain(), 'toast' );
-                       completeRefresh();
+                       init(); // try again
                },
                {
                        timeout: 15000, // time out after 15 seconds of trying

-- 
To view, visit https://gerrit.wikimedia.org/r/64619
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib34ac0055530dd2fe3421084fa53d7ef3165c425
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to