summaryrefslogtreecommitdiffstats
path: root/app/views/issues/new.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-11 20:45:46 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-11 20:45:46 +0000
commit93ef8b7f77ec84bef19d7a872a15b8d406cdb46e (patch)
tree9d28a0180ef4a10c7fcae997b3fef4ac1cdc5059 /app/views/issues/new.rhtml
parent15ed53cf17ffa4603e290a3777f56ff97cae7b61 (diff)
downloadredmine-93ef8b7f77ec84bef19d7a872a15b8d406cdb46e.tar.gz
redmine-93ef8b7f77ec84bef19d7a872a15b8d406cdb46e.zip
Replaced window.hash= by Element.scrollTo()
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1136 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/new.rhtml')
-rw-r--r--app/views/issues/new.rhtml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/issues/new.rhtml b/app/views/issues/new.rhtml
index 1e9e323fe..52c32dbbd 100644
--- a/app/views/issues/new.rhtml
+++ b/app/views/issues/new.rhtml
@@ -12,9 +12,8 @@
:method => 'post',
:update => 'preview',
:with => "Form.serialize('issue-form')",
- :complete => "location.href='#preview-top'"
+ :complete => "Element.scrollTo('preview')"
}, :accesskey => accesskey(:preview) %>
<% end %>
-<a name="preview-top"></a>
<div id="preview" class="wiki"></div>