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

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

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

Log:
fix reload task

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

Modified: web/doc-editor/trunk/js/ui/component/BugsGrid.js
===================================================================
--- web/doc-editor/trunk/js/ui/component/BugsGrid.js	2009-10-18 20:12:54 UTC (rev 289729)
+++ web/doc-editor/trunk/js/ui/component/BugsGrid.js	2009-10-18 20:14:35 UTC (rev 289730)
@@ -124,11 +124,12 @@
         {
             title : String.format(_('Open bugs for {0}'), 'doc-' + phpDoc.userLang),
             tbar  : [{
+				scope: this,
                 tooltip : _('Refresh this grid'),
                 iconCls : 'refresh',
                 handler : function()
                 {
-                    ui.component.BugsGrid.reload();
+                    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.