aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/editor.js
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2010-05-16 19:13:32 +0200
committerNils Adermann <naderman@naderman.de>2010-05-16 19:13:32 +0200
commitb1f9b39475030c3feee80839bccce197940145b2 (patch)
treeb45dfda9b33774798e0f3fff7773f838193aa080 /phpBB/styles/prosilver/template/editor.js
parentb308cfe5ea6e80f8e772345fe3d5b00c48e7193a (diff)
parentfe9c5019b672f26453df55c1a7f6bf876f56da3d (diff)
downloadforums-b1f9b39475030c3feee80839bccce197940145b2.tar
forums-b1f9b39475030c3feee80839bccce197940145b2.tar.gz
forums-b1f9b39475030c3feee80839bccce197940145b2.tar.bz2
forums-b1f9b39475030c3feee80839bccce197940145b2.tar.xz
forums-b1f9b39475030c3feee80839bccce197940145b2.zip
Merge branch 'ticket/nickvergessen/9531' into develop-olympus
* ticket/nickvergessen/9531: [ticket/9531] BBCode-less quotes fallback-option is missing "Author wrote:" line when quoting from topic-review.
Diffstat (limited to 'phpBB/styles/prosilver/template/editor.js')
-rw-r--r--phpBB/styles/prosilver/template/editor.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/editor.js b/phpBB/styles/prosilver/template/editor.js
index 9c2691db8d..c4c3483766 100644
--- a/phpBB/styles/prosilver/template/editor.js
+++ b/phpBB/styles/prosilver/template/editor.js
@@ -194,7 +194,7 @@ function attach_inline(index, filename)
/**
* Add quote text to message
*/
-function addquote(post_id, username)
+function addquote(post_id, username, l_wrote)
{
var message_name = 'message_' + post_id;
var theSelection = '';
@@ -256,6 +256,7 @@ function addquote(post_id, username)
}
else
{
+ insert_text(username + ' ' + l_wrote + ':' + '\n');
var lines = split_lines(theSelection);
for (i = 0; i < lines.length; i++)
{