Skip to content

Commit

Permalink
Re-notify the config observer when changing the installed script.
Browse files Browse the repository at this point in the history
Fixes #1535
  • Loading branch information
Anthony Lieuallen committed Apr 23, 2012
1 parent e336ecf commit 638c2af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/remoteScript.js
Expand Up @@ -300,6 +300,10 @@ RemoteScript.prototype.install = function(aOldScript, aOnlyDependencies) {
this._tempDir.moveTo(GM_util.scriptDir(), this._baseName);
this._tempDir = null;

// Let the config know the base/file name has changed to its real value now.
GM_config._changed(this.script, 'modified', this.script.id);

// Let the user know we're all done.
GM_notification(
"'" + this.script.name + "' "
+ stringBundleBrowser.GetStringFromName("statusbar.installed"));
Expand Down

0 comments on commit 638c2af

Please sign in to comment.