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 committed 2008-02-11 20:45:46 +00:00
1 parent 15ed53cf17
commit 93ef8b7f77
5 files changed
+4 -7

No files matched your search

+1 -2
View File
@@ -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>