Author: carlucci
Date: Fri Jul 27 15:25:36 2012
New Revision: 1366417

URL: http://svn.apache.org/viewvc?rev=1366417&view=rev
Log:
 RAVE-712: Owner does not see that sharing has been declined.  Patch supplied 
by Daniel Gornstein

Modified:
    
rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_layout.js

Modified: 
rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_layout.js
URL: 
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_layout.js?rev=1366417&r1=1366416&r2=1366417&view=diff
==============================================================================
--- 
rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_layout.js 
(original)
+++ 
rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_layout.js 
Fri Jul 27 15:25:36 2012
@@ -306,7 +306,11 @@ rave.layout = rave.layout || (function()
             $('#confirmSharePageDialog').modal('hide');
             rave.api.rpc.updateSharedPageStatus({pageId: 
rave.layout.searchHandler.pageId, shareStatus: 'refused',
                 successCallback: function(result) {
-                    document.location.href='/';
+                    
rave.api.rpc.removeMemberFromPage({pageId:rave.layout.searchHandler.pageId, 
userId:rave.layout.searchHandler.userId,
+                        successCallback:function (result) {
+                            document.location.href='/';
+                        }});
+
                 }
             });
         }


Reply via email to