For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > July 2005 > #29749 [Opn->Csd]: [chm] bug in javascript









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #29749 [Opn->Csd]: [chm] bug in javascript
techtonik@php.net

2005-07-31, 8:59 am

ID: 29749
Updated by: techtonik@php.net
Reported By: jccviking at att dot net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: windows
PHP Version: Irrelevant
-Assigned To:
+Assigned To: techtonik
New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.

Next saturday fixed version will be available for download.

Techinfo:
The problem actually in IE creates a temporary file in temp directory
before printing with name like ~hh3434.htm and there is no _script.js
to include in this dir, so loadNotes(); just undefined. Good points at
http://www.macromedia.com/cfusion/w...threadid=894002
http://www.experts-exchange.com/Web...Q_21080682.html
http://www.faqts.com/knowledge_base...aid/887/fid/124

The problem fixed by checking if functions loadNotes() and
displayPage() are present before calling them. We also need to unhide
pageContent divs to get something on the paper even if there are no
javascript errors. Now html files include default <style> block.



Previous Comments:
------------------------------------------------------------------------

[2005-04-27 16:59:00] vrana@php.net

The problem is with notes - HTML Help creates a file with its own
<head> section without any <script src=""> thus loadNotes() failed.
Solution may be to move <script src=""> to <body> but I don't know how
to do it.

------------------------------------------------------------------------

[2004-09-03 13:49:28] nlopess@php.net

This is unrealted with the skin used. When you try to print all the
subtopics it returns a couple of JS errors.

------------------------------------------------------------------------

[2004-09-02 13:34:49] goba@php.net

What skin are you using?

------------------------------------------------------------------------

[2004-08-19 02:33:12] jccviking at att dot net

Description:
------------
I have found a bug on page tutorial.html
[chm date: 2003-09-06]...

When I try to:

"Print the selected heading and all subtopics"

I get a bunch of script errors starting with:

Line: 43
Char: 4
Error: Object Expected

If I keep clicking the Yes button I get a bunch more. All have a
different line but all say Char 4, Object Expected.

JCC



------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=29749&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com