Start removing the RJS stuff.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10043 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
hideModal();
|
||||
<% select = content_tag('select', content_tag('option') + options_from_collection_for_select(@project.issue_categories, 'id', 'name', @category.id), :id => 'issue_category_id', :name => 'issue[category_id]') %>
|
||||
Element.replace('issue_category_id', '<%= escape_javascript(select) %>');
|
||||
@@ -0,0 +1,3 @@
|
||||
Element.update('ajax-modal', '<%= escape_javascript(render :partial => 'issue_categories/new_modal') %>');
|
||||
showModal('ajax-modal', '600px');
|
||||
Form.Element.focus('issue_category_name');
|
||||
@@ -0,0 +1,3 @@
|
||||
hideModal();
|
||||
<% select = content_tag('select', content_tag('option') + version_options_for_select(@project.shared_versions.open, @version), :id => 'issue_fixed_version_id', :name => 'issue[fixed_version_id]') %>
|
||||
Element.replace('issue_fixed_version_id', '<%= escape_javascript(select) %>');
|
||||
@@ -0,0 +1,3 @@
|
||||
Element.update('ajax-modal', '<%= escape_javascript(render :partial => 'versions/new_modal') %>');
|
||||
showModal('ajax-modal', '600px');
|
||||
Form.Element.focus('version_name');
|
||||
Reference in New Issue
Block a user