Makes issue update link work without javascript (#1337).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1605 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-06-29 19:50:07 +00:00
parent 5d6e9494ad
commit 47064c02f1
3 changed files with 8 additions and 2 deletions

View File

@@ -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() {