Replaced window.hash= by Element.scrollTo()

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1136 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-02-11 20:45:46 +00:00
parent 15ed53cf17
commit 93ef8b7f77
5 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
:method => 'post',
:update => 'preview',
:with => 'Form.serialize("issue-form")',
:complete => "location.hash='preview'"
:complete => "Element.scrollTo('preview')"
}, :accesskey => accesskey(:preview) %>
<% end %>