diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-29 19:50:07 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-29 19:50:07 +0000 |
commit | 47064c02f1445235c0fa3f69b25a3b29bcc2eca4 (patch) | |
tree | d590446e5b1ac084f4496dd654aa74c20323050e /public/javascripts/application.js | |
parent | 5d6e9494ad49b3329da20bbd0e35bec8656886b4 (diff) | |
download | redmine-47064c02f1445235c0fa3f69b25a3b29bcc2eca4.tar.gz redmine-47064c02f1445235c0fa3f69b25a3b29bcc2eca4.zip |
Makes issue update link work without javascript (#1337).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1605 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts/application.js')
-rw-r--r-- | public/javascripts/application.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 4e5b67e55..1674044f8 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -10,6 +10,12 @@ function checkAll (id, checked) { } } +function showAndScrollTo(id, focus) { + Element.show(id); + if (focus!=null) { Form.Element.focus(focus); } + Element.scrollTo(id); +} + var fileFieldCount = 1; function addFileField() { |