Closed (works as designed)
Project:
Superfish Dropdown Menu
Version:
7.x-1.9-beta5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2013 at 13:58 UTC
Updated:
30 Mar 2013 at 08:06 UTC
I just get this error in the dev version 7.x-1.9
Uncaught TypeError: Object [object Object] has no method 'sfsmallscreen' ------------------superfish.js:31
Comments
Comment #1
eugenesia commentedIf you have just upgraded from an earlier version, you need to add the path to sfsmallscreen.js manually. Go to the Superfish module configuration page at admin/config/user-interface/superfish , and add to the end of the list of the library files:
sites/all/libraries/superfish/sfsmallscreen.jsComment #2
lanny heidbreder commentedI get a similar error:
Uncaught TypeError: Object [object Object] has no method 'supersubs'This error is triggered in a small bit of bare JavaScript in the page, not from an external file:
Importantly, the supersubs file IS being included on the page. It is in the list of library files and the
scripttag is being written to the page as it should.Comment #3
jordan8037310 commentedI have done as #1 suggested and manually added the path to the sfsmallscreen.js to no avail. Something else must be amiss here. As #2 mentions, the sfsmallscreen.js is included on the page but it still throws this error.
Help?
Comment #4
mehrpadin commentedHey there,
Lanny (#2) please upgrade to the development release or the v1.9-beta5.
Jordan, he's using v1.8, are you too?
Comment #5
jordan8037310 commentedHey mehrpadin, Yes, I was using v1.8 when I got that error. I went ahead and upgraded to dev as that seemed like the simplest way to resolve the issue and get my site to stop throwing java errors.
Comment #6
mehrpadin commented:)