Automatically focus several form fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2295 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
dfab202cde
commit
4972084345
4 files changed
+4
-3
No files matched your search
@@ -2,7 +2,7 @@
|
||||
<%= link_to_if_authorized l(:label_document_new),
|
||||
{:controller => 'documents', :action => 'new', :project_id => @project},
|
||||
:class => 'icon icon-add',
|
||||
:onclick => 'Element.show("add-document"); return false;' %>
|
||||
:onclick => 'Element.show("add-document"); Form.Element.focus("document_title"); return false;' %>
|
||||
</div>
|
||||
|
||||
<div id="add-document" style="display:none;">
|
||||
|
||||
Reference in new issue
Block a user