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

From: Date: Sat, 13 Mar 2010 16:13:15 +0000
Subject: svn: /web/doc-editor/trunk/js/ main.js util.js
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1607@lists.php.net to get a copy of this message
yannick Sat, 13 Mar 2010 16:13:15 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=296147 Log: CleanUp code & fix IE specific bugs* Changed paths: U web/doc-editor/trunk/js/main.js U web/doc-editor/trunk/js/util.js Modified: web/doc-editor/trunk/js/main.js =================================================================== --- web/doc-editor/trunk/js/main.js 2010-03-13 15:39:34 UTC (rev 296146) +++ web/doc-editor/trunk/js/main.js 2010-03-13 16:13:15 UTC (rev 296147) @@ -88,11 +88,11 @@ //Load external data // Mails ? - if( this.userConf['mainAppLoadMailsAtStartUp'] ) { + if( this.userConf.mainAppLoadMailsAtStartUp ) { ui.component.PortletLocalMail.getInstance().reloadData(); } // Bugs ? - if( this.userConf['mainAppLoadBugsAtStartUp'] ) { + if( this.userConf.mainAppLoadBugsAtStartUp ) { ui.component.PortletBugs.getInstance().reloadData(); } }, Modified: web/doc-editor/trunk/js/util.js =================================================================== --- web/doc-editor/trunk/js/util.js 2010-03-13 15:39:34 UTC (rev 296146) +++ web/doc-editor/trunk/js/util.js 2010-03-13 16:13:15 UTC (rev 296147) @@ -3,14 +3,16 @@ // javascript debug-logging wrapper function log() { - if(console) console.log.apply(this, arguments); + if(console) { + console.log.apply(this, arguments); + } } // i18n function function _(key) { try { - var str = i18n[key] + var str = i18n[key]; if (str === undefined) { str = key; @@ -56,7 +58,7 @@ if (original_cb !== undefined) { Ext.callback(original_cb, config.scope, [options, success, response]); } - } + }; Ext.Ajax.request(config); -} +} \ No newline at end of file

« previous php.doc.web (#1607) next »