Added user_summary to api.

Added ts_api:dispatch_app/3
Added ts_api:get_user_summary/2
Fixed compile errors in ts_user.
Added comments.
This commit is contained in:
Jonathan Bernard
2011-02-24 07:29:30 -06:00
parent 1a3c0d5c4e
commit 4492f87a39
6 changed files with 66 additions and 27 deletions

View File

@ -1,11 +1,18 @@
function login(event) {
}
function logout(event) {
alert("TODO: log user out via AJAX.");
event.preventDefault();
}
function toggleUserInfo(event) {
$("#user-info").slideToggle("slow");
event.preventDefault();
}
function showChangePwd(event) {
$("#change-pwd").slideToggle("slow");
}
function showChangePwd(event) { $("#change-pwd").slideToggle("slow"); }
function updateUser(event) {
alert("TODO: update user via AJAX.");
@ -27,17 +34,9 @@ function updateTimeline(event) {
event.preventDefault();
}
function showNewNotes(event) {
$("#add-notes").slideToggle("slow");
}
function showNewNotes(event) { $("#add-notes").slideToggle("slow"); }
function newEntry(event) {
alert("TODO: create entry vi AJAX");
event.preventDefault();
}
function logout(event) {
alert("TODO: log user out via AJAX.");
event.preventDefault();
}