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:
Jonathan Bernard
2011-06-16 17:50:47 -05:00
parent 602bdca7e3
commit 1fff94b622
14 changed files with 219 additions and 22 deletions

View File

@ -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),