Skip to main content
Topic: js error (Read 1071 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

js error

version elkarte: 1.0.6

Code: [Select]
        $('.myform select').on("click", function(e){
            // ... my code

time: 07.01.2016 12:52:34
error: TypeError: o is undefined
file: http://localhost/elk105/themes/default/scripts/elk_jquery_plugins.js
line: 574

Sorry for my English

Re: js error

Reply #1
I edited the message to remove the spoiler tags. One click less to see the errors. :P

I'm not sure what the code is, I guess some code you are using, but the error seems related to Superclick:

I suppose we can see if there is a more recent version of SC available?
@Spuds do you know from where did we grab the one we are shipping?
Bugs creator.
Features destroyer.
Template killer.

Re: js error

Reply #2
I think that is the latest version (1.0.0), there has not been an update that I know of.  It in the Joels github space along with superfish.

I'm not sure why superclick is being called.  It would appear that it is being bound to  .myform, select from somewhat but is not initiated properly.   @inter do you know if you are using .superclick (click to open menus) and if so was the line in theme.js altered at all?

Re: js error

Reply #3
my full code
Spoiler (click to show/hide)
Sorry for my English


Re: js error

Reply #4
Why are you putting code in spoiler tags? We're used to big messages with lots of code. We even like it ;)
I am currently doing freelance work. If you need coding help, forum help, or server maintenance, shoot me a PM and let me know.

Re: js error

Reply #5
Big height my message. I like spoiler tag  :D
Sorry for my English

Re: js error

Reply #6
I have been on top of the button with the class:

Code: [Select]
    <ul class="sf-js-enabled sf-arrows">
    <li class="listlevel1">

i replace:
Code: [Select]
    <li class="listlevel1">
Sorry for my English