svn: /web/doc-editor/trunk/js/ui/component/ LocalMailGrid.js

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Sun, 18 Oct 2009 20:11:57 +0000

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

Log:
fix reload task

Changed paths:
    U   web/doc-editor/trunk/js/ui/component/LocalMailGrid.js

Modified: web/doc-editor/trunk/js/ui/component/LocalMailGrid.js
===================================================================
--- web/doc-editor/trunk/js/ui/component/LocalMailGrid.js	2009-10-18 14:32:38 UTC (rev 289727)
+++ web/doc-editor/trunk/js/ui/component/LocalMailGrid.js	2009-10-18 20:11:57 UTC (rev 289728)
@@ -133,11 +133,12 @@
         {
             title : String.format(_('Mails from {0}'), 'doc-' + phpDoc.userLang),
             tbar : [{
+				scope: this,
                 tooltip : _('Refresh this grid'),
                 iconCls : 'refresh',
                 handler : function()
                 {
-                    ui.component.LocalMailGrid.reload();
+					console.log(this); this.store.reload();
                 }
             }]
         });
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.