mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-09 02:38:51 +01:00
fix #1102 add spinner to autocomplete and...
* get public/local variables correct for all js * get i18n string in toggle_star for todos Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
parent
e278e3d5ce
commit
24ef0ced32
10 changed files with 94 additions and 99 deletions
|
|
@ -1,3 +1,5 @@
|
|||
# TODO: is this DEAD code?
|
||||
|
||||
if @project.default_context.nil?
|
||||
page.notify :notice, t('projects.default_context_removed'), 5.0
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# TODO: is this dead code?
|
||||
if @project.default_tags.nil?
|
||||
page.notify :notice, t('projects.default_tags_removed_notice'), 5.0
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#TODO: is this dead code?
|
||||
page['default_project_name_id'].value = @project.name
|
||||
page['todo_project_name'].value = @project.name
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# TODO: is this dead code?
|
||||
page.select('#project_status .active span').each do |element|
|
||||
element.className = @project.current_state == :active ? 'active_state' : 'inactive_state'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue