cvs: doc-editor /js main.js

From: Date: Sat, 02 May 2009 18:26:02 +0000
Subject: cvs: doc-editor /js main.js
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3932@lists.php.net to get a copy of this message
yannick Sat May 2 18:26:02 2009 UTC Modified files: /doc-editor/js main.js Log: - exclude "Not in EN tree" module when we choose ENGLISH lang http://cvs.php.net/viewvc.cgi/doc-editor/js/main.js?r1=1.53&r2=1.54&diff_format=u Index: doc-editor/js/main.js diff -u doc-editor/js/main.js:1.53 doc-editor/js/main.js:1.54 --- doc-editor/js/main.js:1.53 Mon Apr 27 05:09:57 2009 +++ doc-editor/js/main.js Sat May 2 18:26:02 2009 @@ -43,7 +43,7 @@ userLang: '', appName: 'PhpDocumentation Online Editor', appVer: '0.2', - uiRevision: '$Revision: 1.53 $', + uiRevision: '$Revision: 1.54 $', userConf: { 'conf_needupdate_diff': 'using-exec', @@ -413,7 +413,7 @@ // Store : Not In En tree this.storeNotInEn = new Ext.data.GroupingStore({ - autoLoad: true, + autoLoad: (this.userLang === 'en') ? false : true, proxy: new Ext.data.HttpProxy({ url: './php/controller.php' }), @@ -7403,6 +7403,7 @@ id: 'acc-notInEn', layout: 'fit', iconCls: 'NotInEn', + hidden: (this.userLang === 'en') ? true : false, items: [gridNotInEn], collapsed: true }, {

« previous php.doc.cvs (#3932) next »