Author: jmorliaguet Date: Sat Mar 4 19:01:27 2006 New Revision: 2524 Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Log:
- view.refresh() should not request new data otherwise widget are displayed twice. If there is no data to display this must be taken care of by the event system instead. 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 Mar 4 19:01:27 2006 @@ -1397,8 +1397,14 @@ } }, + readData: function() { + if (this.model) { + return this.model.readData(); + } + }, + refresh: function() { - var data = this.getData(); + var data = this.readData(); if (data) this.display(data); }, -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins