@@ -72,7 +72,7 @@ define([
7272
7373 this . _contextObj = obj ;
7474 this . _resetSubscriptions ( ) ;
75- this . _updateRendering ( callback ) ; // We're passing the callback to updateRendering to be called after DOM-manipulation
75+ this . _updateRendering ( callback ) ; // We're passing the callback to updateRendering to be called after DOM-manipulation
7676 } else {
7777 // The callback, coming from update, needs to be executed, to let the page know it finished rendering
7878 this . _executeCallback ( callback , "update" ) ;
@@ -115,7 +115,7 @@ define([
115115
116116 // Attach events to HTML dom elements
117117 _setupEvents : function ( ) {
118- logger . debug ( this . id + "._setupEvents" ) ;
118+ // logger.debug(this.id + "._setupEvents");
119119 } ,
120120
121121 // Rerender the interface.
@@ -129,14 +129,14 @@ define([
129129 if ( this . fadeContent ) {
130130 dojoClass . add ( this . divContent , "loaderfade" ) ;
131131 }
132+
133+ if ( this . domNode . offsetParent !== null || ! this . visibilityCheck ) {
134+ this . _loadAndShowcontent ( ) ;
135+ }
132136 }
133137
134138 // The callback, coming from update, needs to be executed, to let the page know it finished rendering
135139 this . _executeCallback ( callback , "_updateRendering" ) ;
136-
137- if ( this . domNode . offsetParent !== null && this . visibilityCheck ) {
138- this . _loadAndShowcontent ( ) ;
139- }
140140 } ,
141141
142142 _loadAndShowcontent : function ( ) {
0 commit comments