mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-11 01:44:23 +01:00
major restructuring/refactoring of application.js. finally scratched that itch. Some tests are failing to be fixed later.
This commit is contained in:
parent
88a524a8d6
commit
879fbc99e2
12 changed files with 606 additions and 642 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<% if @go_to_project -%>
|
||||
redirect_to ("<%= project_path(@project) -%>")
|
||||
<% else -%>
|
||||
TracksForm.hide_errors();
|
||||
TracksPages.hide_errors();
|
||||
hide_empty_message();
|
||||
set_page_badge(<%= @down_count %>);
|
||||
update_active_projects_container();
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
clear_form();
|
||||
<% end -%>
|
||||
<% else -%>
|
||||
TracksForm.show_errors(html_for_error_messages());
|
||||
TracksPages.show_errors(html_for_error_messages());
|
||||
<% end -%>
|
||||
|
||||
function hide_empty_message() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue