Author: jmorliaguet
Date: Sat Feb  4 16:34:25 2006
New Revision: 2289

Modified:
   cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
Log:

- fix: too many subscribers were getting unsubscribed.



Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js (original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Sat Feb  4 
16:34:25 2006
@@ -91,7 +91,7 @@
   unsubscribe: function(eventid, event) {
     new_subscribers = $A([]);
     CPSSkins.Subscribers[eventid].each(function(e) {
-      if (event.subscriber != e.subscriber && event.target != e.target) {
+      if (!(event.subscriber == e.subscriber && event.target == e.target)) {
         new_subscribers.push(e);
       }
     });
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to