← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18009: Dashboard ER plugin fix.

 

Merge authors:
  Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 18009 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-01-15 23:44:19 +0100
message:
  Dashboard ER plugin fix.
modified:
  dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/plugin/eventreport.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/plugin/eventreport.js'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/plugin/eventreport.js	2015-01-15 22:34:01 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/plugin/eventreport.js	2015-01-15 22:43:52 +0000
@@ -3679,13 +3679,11 @@
 
                         // fade
                         if (!ns.skipFade) {
-                            chart.on('afterrender', function() {
-                                Ext.defer( function() {
-                                    Ext.get(init.el).fadeIn({
-                                        duration: 400
-                                    });
-                                }, 300 );
-                            });
+                            Ext.defer( function() {
+                                Ext.get(ns.core.init.el).fadeIn({
+                                    duration: 400
+                                });
+                            }, 300 );
                         }
 
                         // after render