svn: /web/doc-editor/trunk/js/ main.js

From: Date: Mon, 22 Mar 2010 21:38:28 +0000
Subject: svn: /web/doc-editor/trunk/js/ main.js
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1652@lists.php.net to get a copy of this message
yannick Mon, 22 Mar 2010 21:38:28 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=296637 Log: Activate errors panel for EN user Changed paths: U web/doc-editor/trunk/js/main.js Modified: web/doc-editor/trunk/js/main.js =================================================================== --- web/doc-editor/trunk/js/main.js 2010-03-22 21:37:40 UTC (rev 296636) +++ web/doc-editor/trunk/js/main.js 2010-03-22 21:38:28 UTC (rev 296637) @@ -182,23 +182,28 @@ } else { // Store to load only for EN project document.getElementById("loading-msg").innerHTML = "Loading data..."; - progressBar.updateProgress(1/4, '1 of 4...'); + progressBar.updateProgress(1/4, '1 of 5...'); ui.component._MainMenu.store.load({ callback: function() { - progressBar.updateProgress(2/4, '2 of 4...'); + progressBar.updateProgress(2/4, '2 of 5...'); ui.component.PendingPatchGrid.getInstance().store.load({ callback: function() { - progressBar.updateProgress(3/4, '3 of 4...'); + progressBar.updateProgress(3/4, '3 of 5...'); ui.component.PortletTranslationsGraph.getInstance().store.load({ callback: function() { - progressBar.updateProgress(4/4, '4 of 4...'); + progressBar.updateProgress(4/4, '4 of 5...'); ui.component.PendingCommitGrid.getInstance().store.load({ callback: function() { - // Now, we can to remove the global mask - Ext.get('loading').remove(); - Ext.fly('loading-mask').fadeOut({ remove : true }); - progressBar.destroy(); - PhDOE.afterLoadAllStore(); + progressBar.updateProgress(4/4, '5 of 5...'); + ui.component.ErrorFileGrid.getInstance().store.load({ + callback: function() { + // Now, we can to remove the global mask + Ext.get('loading').remove(); + Ext.fly('loading-mask').fadeOut({ remove : true }); + progressBar.destroy(); + PhDOE.afterLoadAllStore(); + } + }); } }); } @@ -353,7 +358,6 @@ layout : 'fit', border : false, iconCls : 'iconFilesError', - hidden : (this.userLang === 'en'), items : [ ui.component.ErrorFileGrid.getInstance() ], collapsed : true }, {

« previous php.doc.web (#1652) next »