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

Bug #16062 BB tag helper refers to non-existant variable "is_gecko"
Submitted: 2009-04-03 14:07 UTC
From: kornel Assigned: doconnor
Status: Closed Package: pearweb (version 1.17.1)
PHP Version: Irrelevant OS: *
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 20 - 12 = ?

 [2009-04-03 14:07 UTC] kornel (Kornel Lesinski)
Description: ------------ BB tag helper refers to non-existant variable "is_gecko", which causes it to fail in Opera (v10 alpha/OS X). BTW: Opera does have document.selection object. It's not safe to assume that having this object (and not being Gecko) implies being IE. Test script: --------------- Actual result: -------------- JavaScript - Event thread: click ReferenceError Statement on line 8: Undefined variable: is_gecko stacktrace: Line 8 of linked script In function insertTags if(document.selection && !is_gecko) { Line 1 of function script insertTags('pkg_description', '[i]', '[/i]','italic')


 [2009-05-23 23:04 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.