Author: raminder
Date: Wed Aug 22 19:05:51 2012
New Revision: 1376199
URL: http://svn.apache.org/viewvc?rev=1376199&view=rev
Log:
(RAVE-761) Committed with alert messages.
Modified:
rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_api.js
Modified:
rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_api.js
URL:
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_api.js?rev=1376199&r1=1376198&r2=1376199&view=diff
==============================================================================
--- rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_api.js
(original)
+++ rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_api.js
Wed Aug 22 19:05:51 2012
@@ -527,8 +527,6 @@ rave.api = rave.api || (function() {
function addFriend(args) {
var user =
encodeURIComponent(encodeURIComponent(args.friendUsername));
- alert('ADD3333' + user);
-
$.post(rave.getContext() + path + "person/" + user +
"/addfriend",
function(result) {
if (result.error) {
@@ -543,8 +541,6 @@ rave.api = rave.api || (function() {
}
function removeFriend(args) {
var user =
encodeURIComponent(encodeURIComponent(args.friendUsername));
- alert('Remove11' + user);
-
$.post(rave.getContext() + path + "person/" + user +
"/removefriend",
function(result) {
if (result.error) {
@@ -572,7 +568,6 @@ rave.api = rave.api || (function() {
}
function acceptFriendRequest(args) {
var user =
encodeURIComponent(encodeURIComponent(args.friendUsername));
- alert('Alert' + user)
$.post(rave.getContext() + path + "person/" + user +
"/acceptfriendrequest",
function(result) {
if (result.error) {