cvs: phpdoc /htmlhelp/suppfiles/html _script.js
| From: | Gabor Hojtsy | Date: | Thu, 26 Dec 2002 23:18:36 +0000 |
| Subject: | cvs: phpdoc /htmlhelp/suppfiles/html _script.js | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969350412@lists.php.net to get a copy of this message | ||
goba Thu Dec 26 18:18:36 2002 EDT
Modified files:
/phpdoc/htmlhelp/suppfiles/html _script.js
Log:
Always enable the notes workaround. It turned out, that
not only IE 6 is to be worked around... So all browsers
use this file list now...
Index: phpdoc/htmlhelp/suppfiles/html/_script.js
diff -u phpdoc/htmlhelp/suppfiles/html/_script.js:1.2 phpdoc/htmlhelp/suppfiles/html/_script.js:1.3
--- phpdoc/htmlhelp/suppfiles/html/_script.js:1.2 Thu Dec 26 17:08:51 2002
+++ phpdoc/htmlhelp/suppfiles/html/_script.js Thu Dec 26 18:18:36 2002
@@ -125,20 +125,13 @@
}
}
-// Load the user notes HTML file [this is called from the HTML
-// file directly on every page] Depends on UA version
+// Load the user notes HTML file indirectly via a list
+// of available user note files [a workaround for a bug
+// affecting several IE 5.5 and IE 6 installations]
function loadNotes()
{
- // Workaround for IE6 bug
- if (ie_version_major == 6) {
- document.write('<script src="mk:@MSITStore:' +
- chmfile_path + 'php_manual_notes.chm::/_filelist.js"></script>');
- }
-
- // Load notes in otherwise
- else {
- notesIframe();
- }
+ document.write('<script src="mk:@MSITStore:' +
+ chmfile_path + 'php_manual_notes.chm::/_filelist.js"></script>');
}
// Prints out the inline frame for the notes HTML file