Issue 2496 - opening html with java script is not saved
Summary: opening html with java script is not saved
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 638
Hardware: Other Windows 98
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-10 17:11 UTC by ddaniels
Modified: 2005-03-25 21:55 UTC (History)
1 user (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ddaniels 2001-12-10 17:11:08 UTC
Opening html with javascript in the head tags. modify html. save. javascript is 
lost.
Comment 1 stefan.baltzer 2002-01-07 11:39:08 UTC
Reassigned to Éric.
Comment 2 eric.savary 2002-01-07 13:45:41 UTC
I can't reproduce this in a 641.
If you still can reproduce it, please sumbit the script you are using.

Comment 3 eric.savary 2003-02-13 15:35:41 UTC
closed
Comment 4 tburcham 2005-03-25 21:55:43 UTC
In OOO Writer/Web 1.9.79, I inserted the following simple (and
useless) JavaScript function in a web page, using the "Insert
Script" dialog, with the "Text" option selected:

function jhsdfjk() {
var n = 0;
    n++
}


...I then saved it and went to HTML view. Instead of The script,
there was a URL to the webpage itself:

<SCRIPT LANGUAGE="JavaScript">
file:///E:/Programs/OpenOffice2.0/Page.html
</SCRIPT>

It seems that text format JavaScript isn't supported in the "Insert
Script" dialog. It always puts a URL. Once, it at least put a URL
to what might have been a temporary file containing a script. I've
tried several different means to do it, but I can't get it to retain
a script in an HTML page.