diff --git a/GreenshotNetworkImportPlugin/Browser-Plugins/Firefox/greenshot.xpi b/GreenshotNetworkImportPlugin/Browser-Plugins/Firefox/greenshot.xpi index 862883249..a21066588 100644 Binary files a/GreenshotNetworkImportPlugin/Browser-Plugins/Firefox/greenshot.xpi and b/GreenshotNetworkImportPlugin/Browser-Plugins/Firefox/greenshot.xpi differ diff --git a/GreenshotNetworkImportPlugin/Browser-Plugins/Firefox/greenshot/content/overlay.js b/GreenshotNetworkImportPlugin/Browser-Plugins/Firefox/greenshot/content/overlay.js index 3a73f5a33..e67ce99b1 100644 --- a/GreenshotNetworkImportPlugin/Browser-Plugins/Firefox/greenshot/content/overlay.js +++ b/GreenshotNetworkImportPlugin/Browser-Plugins/Firefox/greenshot/content/overlay.js @@ -12,8 +12,8 @@ var greenshotPrefObserver = { this._branch.addObserver("", this, false); }, unregister: function() { - if (!this._branch) return; - this._branch.removeObserver("", this); + if (!this._branch) return; + this._branch.removeObserver("", this); }, readDestination: function() { return "http://" + this._branch.getCharPref("host") + ":" + this._branch.getIntPref("port"); @@ -54,8 +54,7 @@ function sendImage(dataUrl, title) { data: dataUrl, url: destination + '?title=' + escape(encodeUTF8(title)), success : function (text) { - alert("Sent image to: " + destination); - //document.getElementById("statusbar-display").label = "Greenshot: " + text; + document.getElementById("statusbar-display").label = "Greenshot: " + text; }, error : function () { alert("Couldn't send image to '" + destination + "' please check if Greenshot is running!");