Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserCountry/templates/admin.js')
-rwxr-xr-xplugins/UserCountry/templates/admin.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/UserCountry/templates/admin.js b/plugins/UserCountry/templates/admin.js
index 1077039cba..fc5e71c762 100755
--- a/plugins/UserCountry/templates/admin.js
+++ b/plugins/UserCountry/templates/admin.js
@@ -102,6 +102,9 @@ $(document).ready(function() {
}
}
});
+ ajaxRequest.setErrorCallback(function() {
+ callback({error: _pk_translate('UserCountry_FatalErrorDuringDownload_js')});
+ });
ajaxRequest.send(false);
};