Author: jmorliaguet
Date: Fri Feb 17 12:38:36 2006
New Revision: 2397

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

- fixes



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 Fri Feb 17 
12:38:36 2006
@@ -420,8 +420,8 @@
     var controller = this;
 
     CPSSkins.registerEventHandler("command", controller, function(event) {
-      var view = event.subscriber;
-      var controller = event.publisher;
+      var view = event.publisher;
+      var controller = event.subscriber;
 
       // add some contextual info
       event.view = view;
@@ -1646,7 +1646,8 @@
     /* notify the controller to take action */
     var event = {
       "context": this.selected,
-      "publisher": this.controller,
+      "publisher": this,
+      "subscriber": this.controller,
       "options": {'action': action, 'choice': choice}
     }
     CPSSkins.notify("command", event);
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to