mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-08 16:44:20 +01:00
fix timing issues on failing scenarios. Fix deprecated jquery functions and update jqueryui
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
parent
98fbbccdcb
commit
1b0d08bbb5
39 changed files with 715 additions and 600 deletions
4
app/views/projects/update_project_name.js.erb
Normal file
4
app/views/projects/update_project_name.js.erb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<% if @saved -%>
|
||||
TracksPages.page_notify('notice', '<%=t('projects.status_project_name_changed')%>', 5);
|
||||
TracksForm.set_project_name("<%= escape_javascript(@project.name)%>");
|
||||
<% end %>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
#TODO: is this dead code?
|
||||
page['default_project_name_id'].value = @project.name
|
||||
page['todo_project_name'].value = @project.name
|
||||
|
||||
page << "enable_rich_interaction();"
|
||||
|
||||
status_message = t('projects.status_project_name_changed')
|
||||
page.notify :notice, status_message, 5.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue