mod/01_history/set/all/content_history.rb in card-1.16.1 vs mod/01_history/set/all/content_history.rb in card-1.16.2
- old
+ new
@@ -54,10 +54,10 @@
selected_action_id and Action.fetch(selected_action_id)
end
def selected_content_action_id
@selected_action_id ||
- (@current_action and @current_action.new_content? and @current_action.id) ||
+ (@current_action && (new_card? || @current_action.new_content? || db_content_changed?) && @current_action.id) ||
last_content_action_id
end
def last_action_id
la = last_action and la.id