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

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Sun, 19 Dec 2010 22:33:56 +0000

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

Log:
Fix updateConf task for spellCheck

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	2010-12-19 22:13:41 UTC (rev 306467)
+++ web/doc-editor/trunk/js/ui/cmp/FilePanel.js	2010-12-19 22:33:56 UTC (rev 306468)
@@ -479,10 +479,12 @@
                     Ext.getCmp(this.id_prefix + '-FILE-' + this.fid).setSpellcheck(btn.pressed);

                     new ui.task.UpdateConfTask({
-                        item  : this.spellCheckConf,
-                        value : btn.pressed,
-                        notify: false
+                        module    : this.spellCheckConf.module,
+                        itemName  : this.spellCheckConf.itemName,
+                        value     : btn.pressed,
+                        notify    : false
                     });
+
                 }
             },{
                 scope   : this,
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.