Skip to content
This repository
Browse code

Use "GM_util.alert()" from module scope.

Fixes #1490.
  • Loading branch information...
commit 9520409c2ee6e1d7ad77648efc43b2865b39c44e 1 parent 5a0cbdf
arantius authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  modules/script.js
3  modules/script.js
@@ -443,8 +443,9 @@ Script.prototype.updateFromNewScript = function(newScript, safeWin, chromeWin) {
443 443
       this._name = newScript._name;
444 444
       this._namespace = newScript._namespace;
445 445
     } else {
  446
+      // TODO: Unlocalized string.
446 447
       // Notify the user of the conflict
447  
-      alert('Error: Another script with @name: "' + newScript._name +
  448
+      GM_util.alert('Error: Another script with @name: "' + newScript._name +
448 449
             '" and @namespace: "' + newScript._namespace +
449 450
             '" is already installed.\nThese values must be unique.');
450 451
     }

0 notes on commit 9520409

Please sign in to comment.
Something went wrong with that request. Please try again.