aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libbugzilla.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libbugzilla.js')
-rw-r--r--lib/libbugzilla.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js
index 6d556a4..28e2be1 100644
--- a/lib/libbugzilla.js
+++ b/lib/libbugzilla.js
@@ -110,7 +110,7 @@ exports.changeJSONURL = function changeJSONURL() {
var url = preferences.get(prfNm,"");
var reply = prompts.prompt("New location of JSON configuration file", url);
- if (reply) {
+ if (reply && (reply != url)) {
preferences.set(prfNm, reply.trim());
// TODO Restartless add-on needs to resolve this.
prompts.alert("For now, you should really restart Firefox!");