svn: /web/doc-editor/trunk/js/ main.js

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Mon, 29 Mar 2010 15:58:17 +0000

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

Log:
Add a var to indicate that the app is loaded

Changed paths:
    U   web/doc-editor/trunk/js/main.js

Modified: web/doc-editor/trunk/js/main.js
===================================================================
--- web/doc-editor/trunk/js/main.js	2010-03-29 15:41:05 UTC (rev 297074)
+++ web/doc-editor/trunk/js/main.js	2010-03-29 15:58:17 UTC (rev 297075)
@@ -8,6 +8,7 @@
         userLang   : null,
         appName    : 'Php Docbook Online Editor',
         appVer     : 'X.XX',
+        appLoaded  : false,
         uiRevision : '$Revision$',

         userConf : '',
@@ -87,6 +88,8 @@
         // All we want to do after all dataStore are loaded
         afterLoadAllStore: function()
         {
+            this.appLoaded = true;
+
             // Run DirectAccess if present
             this.runDirectAccess();
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.