svn: /web/doc-editor/trunk/js/ui/cmp/ FilePanel.js

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Tue, 15 Mar 2011 06:39:07 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=309247

Log:
Fix spellCheck config status

Changed paths:
    U   web/doc-editor/trunk/js/ui/cmp/FilePanel.js

Modified: web/doc-editor/trunk/js/ui/cmp/FilePanel.js
===================================================================
--- web/doc-editor/trunk/js/ui/cmp/FilePanel.js	2011-03-15 02:31:14 UTC (rev 309246)
+++ web/doc-editor/trunk/js/ui/cmp/FilePanel.js	2011-03-15 06:39:07 UTC (rev 309247)
@@ -473,7 +473,7 @@
                 tooltip      : _('<b>Enable / Disable</b> spellChecking'),
                 enableToggle : true,
                 iconCls      : 'iconSpellCheck',
-                pressed      : PhDOE.user.conf[this.spellCheckConf],
+                pressed      : PhDOE.user.conf[this.spellCheckConf.module][this.spellCheckConf.itemName],
                 handler      : function(btn)
                 {
                     Ext.getCmp(this.id_prefix + '-FILE-' + this.fid).setSpellcheck(btn.pressed);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.