Closed
Bug 483944
Opened 16 years ago
Closed 16 years ago
could not translate Firefox Support Home Page
Categories
(support.mozilla.org :: Localization, task)
support.mozilla.org
Localization
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 467018
People
(Reporter: timar74, Unassigned)
References
()
Details
Whet I try to create Hungarian translation for the Firefox Support Home Page I fail.
In the edit box there is script:
<script type="text/javascript">var myforms = document.getElementsByTagName("form"); for (var i=0; i<myforms.length; i++) { var myaction = myforms[i].getAttribute("action"); if (myaction.search(/tiki-newsearch/i) != -1) { myaction = myaction.replace(/tiki-newsearch/i, "tiki-searchresults"); myforms[i].setAttribute("action",myaction); } } </script>
When I edit the contents and save the page, the script gets corrupted:
<sc<x>ript type="text/javascript">var myforms = document.getElementsByTagName("form"); for (var i=0; i<myforms.length; i++) { var myaction = myforms[i].getAttribute("action"); if (myaction.search(/tiki-newsearch/i) != -1) { myaction = myaction.replace(/tiki-newsearch/i, "tiki-searchresults"); myforms[i].setAttribute("action",myaction); } } </script>
Note the extra "<x>" inserted into the first tag. The corrupted code appears verbatim in the preview.
Comment 1•16 years ago
|
||
That's a result of bug 467018. You don't have to include that script.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•