mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-11 07:02:36 +01:00
enable autocomplete for project settings
This commit is contained in:
parent
068c4bf60e
commit
8e0b1e4c2d
5 changed files with 150 additions and 126 deletions
|
|
@ -40,7 +40,10 @@ function update_project_page() {
|
|||
}
|
||||
|
||||
function remove_project_edit_form() {
|
||||
$('#<%=dom_id(@project, 'edit')%>').hide(500, function() {$('#<%=dom_id(@project, 'edit')%>').remove();} );
|
||||
<%-
|
||||
# do not remove() edit form as this will remove the DIV that is needed to replace with the new form, so only empty the DIV
|
||||
-%>
|
||||
$('#<%=dom_id(@project, 'edit')%>').hide(500, function() {$('#<%=dom_id(@project, 'edit')%>').html("<!- empty ->");} );
|
||||
}
|
||||
|
||||
function update_and_show_project_settings() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue