Implemented entry exclusions in UI.
* Resolved D0020: Add exclusion filter for entries. * Refactored ``timeline`` fields of several objects in ``ts.js`` to be ``timelineModel`` to be explicit. * Added support for exclusions in ``EntryListView.renderOne`` and ``EntryListView.render``.
This commit is contained in:
@ -36,7 +36,7 @@ update(ER = #ts_entry{}, ExtData) when is_list(ExtData) ->
|
||||
write(ER = #ts_entry{}) -> mnesia:dirty_write(ER).
|
||||
|
||||
write(ER = #ts_entry{}, ExtData) ->
|
||||
{atomic, Result} = mnesia:transcation(fun() ->
|
||||
{atomic, Result} = mnesia:transaction(fun() ->
|
||||
ok = mnesia:write(ER),
|
||||
ok = ts_common:do_set_ext_data(ER, ExtData)
|
||||
end),
|
||||
|
Reference in New Issue
Block a user