Hide error message when paste is posted correctly

This commit is contained in:
Hexalyse 2015-09-05 14:45:50 +02:00
parent 9687144c92
commit d74172064b

View File

@ -396,7 +396,7 @@ function send_data() {
var url = scriptLocation() + "?" + data.id + '#' + randomkey;
var deleteUrl = scriptLocation() + "?pasteid=" + data.id + '&deletetoken=' + data.deletetoken;
showStatus('');
$('#errormessage').addClass('hidden');
$('#pastelink').html('Your paste is <a id="pasteurl" href="' + url + '">' + url + '</a> <span id="copyhint">(Hit CTRL+C to copy)</span>');
$('#deletelink').html('<a href="' + deleteUrl + '">Delete data</a>');
$('#pasteresult').removeClass('hidden');