Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.13

Request #8064 toJavascript deletes javascript
Submitted: 2006-06-29 07:34 UTC
From: cmouse at desteem dot org Assigned:
Status: Verified Package: HTML_Template_Flexy (version 1.2.4)
PHP Version: 5.1.4 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2006-06-29 07:41 UTC
Package:
Bug Type:
Summary:
From: cmouse at desteem dot org
New email:
PHP Version: Package Version: OS:

 

 [2006-06-29 07:34 UTC] cmouse at desteem dot org (Aki Tuomi)
Description: ------------ Example: <flexy:toJavascript group="group"> <script type="text/javascript"> <!--; // <![CDATA[ var group=0; toggleGroup(group); // ]]> --> </script> </flexy:toJavascript> This renders up as <script type="text/javascript"> <!--; // <![CDATA[ var group=0; // ]]> --> </script> And then I go 'WTF!?!' where is my toggleGroup?!. Oh, it filters it out. So, I have to go round this by adding yet another <script></script> tag which actually does this one-line function call. Would make the code a LOT cleaner in many places if you could just not remove the javascript. Or you could at least say something about this in the manual page. It is very irritating undocumented "feature". Test script: --------------- See above

Comments

 [2006-06-29 07:41 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!