We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Error from htmlarea.js | Forum

Darryl B Leader
Darryl B Jul 15 '15
I added a new page through the admin area. When I was checking it using Firebug I was getting several of these error "$ type error browser undefined" and it pointed to the htmlarea.js line 20 col 12. After researching this has been deprecated since jquery 1.9. I found a fix on stack oveflow that took care of the errors. I added it to the script on my page. I've attached the fix that I used.
Attachments:
  browser undefined fix.txt (0Kb)
ross Team
ross Jul 15 '15
Darryl, revert the changed you did, enable dev mode and refresh your website couple of times, see if the issue persists. 
Darryl B Leader
Darryl B Jul 16 '15
The issue is still there without the added script. I did enable dev mode, and refresh the page a few times. The same error continues to list multiple times with multiple instances for each listing. The page loads, and works fine other than the errors. Each listing references the htmlarea.js line 20 col 12. I am running a carousel on the page with image links opening in an iframe. As stated, the error isn't affecting the functionality of the page. From what I have read jquery revised this line to be compatible with newer browsers, but you guys know way more about that than I would ever know.
ross Team
ross Jul 16 '15
What is the page you get this error on? What is your software version?
Darryl B Leader
Darryl B Jul 17 '15
This is an add on page that I created in the admin panel. I was on 1.7.4 when I saw the errors. I just updated to 1.7.5 before going to bed last night. I haven't checked it yet after the update. I'll  do that this evening. 
Darryl B Leader
Darryl B Jul 17 '15
It appears that when jquery deprecated the $browser as of 1.9 that this problem started popping up. Instead of the extra code I found that adding the jquery-migrate also cleared up the errors. ""<scriptsrc="http://code.jquery.com/jquery-migrate-1.0.0.js">"". This was also listed as a fix for the issue. I did try your suggestion on my updated Oxwall version, but it still did the same thing. It appears that this isn't so much an Oxwall thing, but something jquery implemented. There are several posts on the web regarding the browser undefined error.