diff options
Diffstat (limited to 'rt/share/html/Elements/HeaderJavascript')
| -rw-r--r-- | rt/share/html/Elements/HeaderJavascript | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rt/share/html/Elements/HeaderJavascript b/rt/share/html/Elements/HeaderJavascript index ce0b97621..95be98986 100644 --- a/rt/share/html/Elements/HeaderJavascript +++ b/rt/share/html/Elements/HeaderJavascript @@ -60,7 +60,7 @@ $onload => undef <script type="text/javascript"><!-- doOnLoad(loadTitleBoxStates); % if ( $focus ) { - doOnLoad(function () { focusElementById('<% $focus %>') }); + doOnLoad(function () { focusElementById(<% $focus |n,j%>) }); % } % if ( $onload ) { @@ -112,8 +112,8 @@ $onload => undef typeField.setAttribute('value', 'text/html'); textArea.parentNode.appendChild(typeField); - var oFCKeditor = new FCKeditor( textArea.name, '100%', <% RT->Config->Get('MessageBoxRichTextHeight', $session{CurrentUser} ) %> ); - oFCKeditor.BasePath = "<%RT->Config->Get('WebPath')%>/NoAuth/RichText/"; + var oFCKeditor = new FCKeditor( textArea.name, '100%', <% RT->Config->Get('MessageBoxRichTextHeight', $session{CurrentUser} ) |n,j%> ); + oFCKeditor.BasePath = <%RT->Config->Get('WebPath') |n,j%>+"/NoAuth/RichText/"; oFCKeditor.ReplaceTextarea(); } } |
