view .svn/pristine/5b/5be15d9755983c58da5f71dc3d2f96dca598f0ff.svn-base @ 1408:b09744f35f76 biblio_alt_search_auth

Fixed the initial state of the Save/Edit buttons.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 01 Oct 2013 12:08:09 +0100
parents 038ba2d95de8
children
line wrap: on
line source
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]') %>
$('#issue_category_id').replaceWith('<%= escape_javascript(select) %>');