cvs: php-windows-web /docroot/js userprefs.js

From: Date: Tue, 24 Mar 2009 18:40:34 +0000
Subject: cvs: php-windows-web /docroot/js userprefs.js
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-4170@lists.php.net to get a copy of this message
kalle Tue Mar 24 18:40:34 2009 UTC Modified files: /php-windows-web/docroot/js userprefs.js Log: Sync with the userprefs.js from phpweb, so #38398 gets elimiated here even though winweb doesn't really use JS http://cvs.php.net/viewvc.cgi/php-windows-web/docroot/js/userprefs.js?r1=1.1&r2=1.2&diff_format=u Index: php-windows-web/docroot/js/userprefs.js diff -u php-windows-web/docroot/js/userprefs.js:1.1 php-windows-web/docroot/js/userprefs.js:1.2 --- php-windows-web/docroot/js/userprefs.js:1.1 Mon Nov 3 14:07:51 2008 +++ php-windows-web/docroot/js/userprefs.js Tue Mar 24 18:40:34 2009 @@ -48,7 +48,9 @@ if (navigator.userAgent.toLowerCase().indexOf('mac') > 0) { searchEnabled = false; } - if (myphpnet = getCookie('MYPHPNET')) { + + myphpnet = getCookie("MYPHPNET"); + if (typeof(myphpnet) == "string") { myphpnet_parts = myphpnet.split(","); if (myphpnet_parts.length > 3) { if (myphpnet_parts[3] == '1') {

« previous php.webmaster (#4170) next »