diff options
Diffstat (limited to 'phpBB/styles/prosilver/template/editor.js')
| -rw-r--r-- | phpBB/styles/prosilver/template/editor.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/editor.js b/phpBB/styles/prosilver/template/editor.js index c4c3483766..dc380cef3d 100644 --- a/phpBB/styles/prosilver/template/editor.js +++ b/phpBB/styles/prosilver/template/editor.js @@ -200,6 +200,12 @@ function addquote(post_id, username, l_wrote) var theSelection = ''; var divarea = false; + if (l_wrote === undefined) + { + // Backwards compatibility + l_wrote = 'wrote'; + } + if (document.all) { divarea = document.all[message_name]; @@ -447,4 +453,4 @@ function getCaretPosition(txtarea) } return caretPos; -}
\ No newline at end of file +} |
