Small text message changes
This commit is contained in:
parent
8881b3047a
commit
3aa4911991
@ -293,7 +293,7 @@ function send_comment(parentid) {
|
|||||||
|
|
||||||
$.post(scriptLocation(), data_to_send, 'json')
|
$.post(scriptLocation(), data_to_send, 'json')
|
||||||
.error(function() {
|
.error(function() {
|
||||||
showError('Comment could not be sent (serveur error or not responding).');
|
showError('Comment could not be sent (server error or not responding).');
|
||||||
})
|
})
|
||||||
.success(function(data) {
|
.success(function(data) {
|
||||||
if (data.status == 0) {
|
if (data.status == 0) {
|
||||||
@ -348,7 +348,7 @@ function send_data() {
|
|||||||
showStatus('');
|
showStatus('');
|
||||||
|
|
||||||
$('div#pastelink').html('Your paste is <a id="pasteurl" href="' + url + '">' + url + '</a> <span id="copyhint">(Hit CTRL+C to copy)</span>');
|
$('div#pastelink').html('Your paste is <a id="pasteurl" href="' + url + '">' + url + '</a> <span id="copyhint">(Hit CTRL+C to copy)</span>');
|
||||||
$('div#deletelink').html('<a href="' + deleteUrl + '">Delete link</a>');
|
$('div#deletelink').html('<a href="' + deleteUrl + '">Delete data</a>');
|
||||||
$('div#pasteresult').removeClass('hidden');
|
$('div#pasteresult').removeClass('hidden');
|
||||||
selectText('pasteurl'); // We pre-select the link so that the user only has to CTRL+C the link.
|
selectText('pasteurl'); // We pre-select the link so that the user only has to CTRL+C the link.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user