diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-01-12 14:54:26 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-01-12 14:54:26 +0000 |
commit | 64eaf328eae17f9ced062e0e3ecc0a97df7eea8e (patch) | |
tree | 5522b09947cb286970429a932b10188f31c84147 /app | |
parent | 941f9bf3dd3bfbbb575cd5f56d52a52fdf173eba (diff) | |
download | redmine-64eaf328eae17f9ced062e0e3ecc0a97df7eea8e.tar.gz redmine-64eaf328eae17f9ced062e0e3ecc0a97df7eea8e.zip |
Fixed: wrong url for wiki syntax pop-up when Redmine urls are prefixed.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1058 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/wiki/edit.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml index 32acbfff6..10276264f 100644 --- a/app/views/wiki/edit.rhtml +++ b/app/views/wiki/edit.rhtml @@ -5,8 +5,8 @@ <%= error_messages_for 'content' %> <div class="contextual"> <%= l(:setting_text_formatting) %>: -<%= link_to l(:label_help), '/help/wiki_syntax.html', - :onclick => "window.open('#{ url_for '/help/wiki_syntax.html' }', '', 'resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes'); return false;" %> +<%= link_to l(:label_help), compute_public_path('wiki_syntax', 'help', 'html'), + :onclick => "window.open('#{ compute_public_path('wiki_syntax', 'help', 'html') }', '', 'resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes'); return false;" %> </div> <p><%= f.text_area :text, :cols => 100, :rows => 25, :class => 'wiki-edit', :accesskey => accesskey(:edit) %></p> <p><label><%= l(:field_comments) %></label><br /><%= f.text_field :comments, :size => 120 %></p> |