Author: jmorliaguet
Date: Sat Jan  7 14:54:35 2006
New Revision: 2178

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

- we do a first update whenever a view is registered as an observer.



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 Jan  7 
14:54:35 2006
@@ -67,6 +67,8 @@
     }
     CPSSkins.Observers[observed].push(view);
     view.observed = observed;
+
+    view.update();
   },
 
   removeObserver: function(view) {
@@ -873,8 +875,6 @@
         Element.show(widget);
       }
     });
-
-    this.update();
   },
 
   hideEvent: function(e) {
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to