aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-02-25 10:51:35 +0000
committerAndreas Fischer <bantu@phpbb.com>2010-02-25 10:51:35 +0000
commitcdc96b0c7d87b3db7a8192b62ffb95044a24434f (patch)
tree8e41c622e96a580bedd2aea5fa5ae6f888670498 /phpBB/adm
parente57981d1f55932cacfd0d4f11c7a69e5d1195bc4 (diff)
downloadforums-cdc96b0c7d87b3db7a8192b62ffb95044a24434f.tar
forums-cdc96b0c7d87b3db7a8192b62ffb95044a24434f.tar.gz
forums-cdc96b0c7d87b3db7a8192b62ffb95044a24434f.tar.bz2
forums-cdc96b0c7d87b3db7a8192b62ffb95044a24434f.tar.xz
forums-cdc96b0c7d87b3db7a8192b62ffb95044a24434f.zip
Bug #58085 - Add terminating semicolons to JavaScript code found by JSLint. Patch by nn-
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10539 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm')
-rw-r--r--phpBB/adm/style/editor.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/adm/style/editor.js b/phpBB/adm/style/editor.js
index cd4e75f51f..7e3ce1c708 100644
--- a/phpBB/adm/style/editor.js
+++ b/phpBB/adm/style/editor.js
@@ -152,7 +152,7 @@ function insert_text(text, spaces, popup)
var sel_start = textarea.selectionStart;
var sel_end = textarea.selectionEnd;
- mozWrap(textarea, text, '')
+ mozWrap(textarea, text, '');
textarea.selectionStart = sel_start + text.length;
textarea.selectionEnd = sel_end + text.length;
}
@@ -269,7 +269,7 @@ function mozWrap(txtarea, open, close)
}
var s1 = (txtarea.value).substring(0,selStart);
- var s2 = (txtarea.value).substring(selStart, selEnd)
+ var s2 = (txtarea.value).substring(selStart, selEnd);
var s3 = (txtarea.value).substring(selEnd, selLength);
txtarea.value = s1 + open + s2 + close + s3;