svn: /web/doc-editor/trunk/js/ui/task/ PingTask.js

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Sun, 28 Mar 2010 20:02:16 +0000

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

Log:
Remove updateData & checkEntities from ping processus

Changed paths:
    U   web/doc-editor/trunk/js/ui/task/PingTask.js

Modified: web/doc-editor/trunk/js/ui/task/PingTask.js
===================================================================
--- web/doc-editor/trunk/js/ui/task/PingTask.js	2010-03-28 20:01:04 UTC (rev 297017)
+++ web/doc-editor/trunk/js/ui/task/PingTask.js	2010-03-28 20:02:16 UTC (rev 297018)
@@ -14,30 +14,6 @@
                     window.location.href = './';
                 } else {

-                    // We look if there is an update_data in progress or not
-                    if( o.lastupdatedata === 'in_progress' ) {
-                        Ext.getDom('Info-LastUpdateData').innerHTML = _('update in progress...');
-                    } else if( o.lastupdatedata !== '-' ) {
-                        dt = Date.parseDate(o.lastupdatedata, "Y-m-d H:i:s");
-
-                        // We update the lastupdate date/time
-                        Ext.getDom('Info-LastUpdateData').innerHTML = dt.format(_('Y-m-d, H:i'));
-                    } else {
-                        Ext.getDom('Info-LastUpdateData').innerHTML = '-';
-                    }
-
-                    // We look if there is an check_entities in progress or not
-                    if( o.lastcheckentities === 'in_progress' ) {
-                        Ext.getDom('Info-LastCheckEntities').innerHTML = _('check in progress...');
-                    } else if( o.lastcheckentities !== '-' ) {
-                        dt = Date.parseDate(o.lastcheckentities, "Y-m-d H:i:s");
-
-                        // We update the lastupdate date/time
-                        Ext.getDom('Info-LastCheckEntities').innerHTML = dt.format(_('Y-m-d, H:i'));
-                    } else {
-                        Ext.getDom('Info-LastCheckEntities').innerHTML = '-';
-                    }
-
                     // We look if there is a modification of the count for all modules. If so, we reload the corresponding module
                     if( PhDOE.userLang !== 'en' ) {

@@ -112,4 +88,4 @@
         ui.task._PingTask.instance = new ui.task.PingTask();
     }
     return ui.task._PingTask.instance;
-};
+};
\ No newline at end of file
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.