Fix : 404 for Shorten URL image

This commit is contained in:
Erwan 2012-04-23 16:30:02 +02:00
parent e71e7cfce6
commit 5d02750316
1 changed files with 59 additions and 59 deletions

View File

@ -257,7 +257,7 @@ function send_data() {
showStatus(''); showStatus('');
$('div#pastelink').html('Your paste is <a href="' + url + '">' + url + '</a>'); $('div#pastelink').html('Your paste is <a href="' + url + '">' + url + '</a>');
$('div#pastelink') $('div#pastelink')
.append('&nbsp;&nbsp;<button id="shortenbutton" onclick="document.location=\'' + shortenUrl(url) + '\'"><img src="lib/icon_shorten.png" width="13" height="15" />Shorten URL</button>') .append('&nbsp;&nbsp;<button id="shortenbutton" onclick="document.location=\'' + shortenUrl(url) + '\'"><img src="img/icon_shorten.png" width="13" height="15" />Shorten URL</button>')
.show(); .show();
setElementText($('div#cleartext'), $('textarea#message').val()); setElementText($('div#cleartext'), $('textarea#message').val());
urls2links($('div#cleartext')); urls2links($('div#cleartext'));