mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-21 08:26:10 +01:00
fix dependency features
This commit is contained in:
parent
fbe69a9a55
commit
2acfbd8f00
5 changed files with 14 additions and 6 deletions
|
|
@ -9,7 +9,7 @@
|
|||
remove_successor_from_page();
|
||||
replace_updated_predecessor();
|
||||
regenerate_predecessor_family();
|
||||
<%= "show_in_tickler_box();" if source_view_is_one_of :project, :tag, :context %>
|
||||
<%= "show_in_tickler_box();".html_safe if source_view_is_one_of :project, :tag, :context %>
|
||||
TracksPages.page_notify('notice', "<%= @status_message %>", 5);
|
||||
|
||||
function remove_successor_from_page() {
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ function activate_pending_todos() {
|
|||
$('#<%= dom_id(t) %>').fadeOut(400, function() {
|
||||
$('#<%= dom_id(t) %>').remove();
|
||||
$('#<%= item_container_id(t) %>').append("<%= html %>");
|
||||
<%= "$('#tickler-empty-nd').show();" if @remaining_deferred_or_pending_count==0 -%>
|
||||
<%= "$('#tickler-empty-nd').show();".html_safe if @remaining_deferred_or_pending_count==0 -%>
|
||||
});
|
||||
<% else -%>
|
||||
$('#<%= item_container_id(t) %>').append("<%= html%>");
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ function activate_pending_todos(next_steps) {
|
|||
$('#<%= dom_id(t) %>').fadeOut(400, function() {
|
||||
$('#<%= dom_id(t) %>').remove();
|
||||
$('#<%= item_container_id(t) %>').append("<%= html %>");
|
||||
<%= "$('#tickler-empty-nd').show();" if @remaining_deferred_or_pending_count==0 -%>
|
||||
<%= "$('#tickler-empty-nd').show();".html_safe if @remaining_deferred_or_pending_count==0 -%>
|
||||
});
|
||||
<% else -%>
|
||||
$('#<%= item_container_id(t) %>').append("<%= html%>");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue