Skip to content

Commit

Permalink
Reenable #link.title and wf:logout
Browse files Browse the repository at this point in the history
  • Loading branch information
MarSik committed Jun 29, 2010
1 parent 0c22451 commit 1acc87f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/nitrogen/include/wf.hrl
Expand Up @@ -78,7 +78,7 @@
-record(p, {?ELEMENT_BASE(element_p), body=""}).
-record(label, {?ELEMENT_BASE(element_label), text="", html_encode=true}).
-record(value, {?ELEMENT_BASE(element_value), text="", html_encode=true}).
-record(link, {?ELEMENT_BASE(element_link), title = undefined, text="", body="", html_encode=true, url="javascript:", postback, delegate}).
-record(link, {?ELEMENT_BASE(element_link), title = "", text="", body="", html_encode=true, url="javascript:", postback, delegate}).
-record(error, {?ELEMENT_BASE(element_error), text="", html_encode=true}).
-record(span, {?ELEMENT_BASE(element_span), text="", html_encode=true}).
-record(button, {?ELEMENT_BASE(element_button), text="Button", html_encode=true, postback, delegate}).
Expand Down
3 changes: 2 additions & 1 deletion apps/nitrogen/src/wf.erl
Expand Up @@ -121,7 +121,8 @@ set(Element, Value) ->

%%% OTHER %%%
% TODO
% logout() -> clear_user(), clear_roles(), clear_state(), clear_session().
logout() -> clear_user(), clear_roles(), clear_state(), clear_session().

to_js_id(Path) ->
_String = wf_render_actions:to_js_id(Path).

Expand Down

0 comments on commit 1acc87f

Please sign in to comment.