[ticket/9530] The prosilver problem in #9531 exists in subsilver2 editor.js

PHPBB3-9530
This commit is contained in:
Joas Schilling 2010-04-11 01:39:10 +02:00 committed by Nils Adermann
parent d147bdcd73
commit a11fa9c738

View file

@ -196,7 +196,7 @@ function attach_inline(index, filename)
/** /**
* Add quote text to message * Add quote text to message
*/ */
function addquote(post_id, username) function addquote(post_id, username, l_wrote)
{ {
var message_name = 'message_' + post_id; var message_name = 'message_' + post_id;
var theSelection = ''; var theSelection = '';
@ -257,6 +257,7 @@ function addquote(post_id, username)
} }
else else
{ {
insert_text(username + ' ' + l_wrote + ':' + '\n');
var lines = split_lines(theSelection); var lines = split_lines(theSelection);
for (i = 0; i < lines.length; i++) for (i = 0; i < lines.length; i++)
{ {