Changed alert to statusbar message

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1646 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-02-09 12:09:51 +00:00
commit a7b082d6ba
2 changed files with 3 additions and 4 deletions

View file

@ -54,8 +54,7 @@ function sendImage(dataUrl, title) {
data: dataUrl, data: dataUrl,
url: destination + '?title=' + escape(encodeUTF8(title)), url: destination + '?title=' + escape(encodeUTF8(title)),
success : function (text) { success : function (text) {
alert("Sent image to: " + destination); document.getElementById("statusbar-display").label = "Greenshot: " + text;
//document.getElementById("statusbar-display").label = "Greenshot: " + text;
}, },
error : function () { error : function () {
alert("Couldn't send image to '" + destination + "' please check if Greenshot is running!"); alert("Couldn't send image to '" + destination + "' please check if Greenshot is running!");