waseem02 / jquery-asmselect

Automatically exported from code.google.com/p/jquery-asmselect
0 stars 0 forks source link

the select box instantiate itself #57

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install wordpress
2. install http://downloads.wordpress.org/plugin/2046s-widget-loops.zip
3. go to admin > widgets > drop the 2046's widget in the sidebar > go to right 
side "Where this loop will be shown & what" select elsewhere > selected taxonomy
4. there you'll see at least 3 instances of the same select box.

I know this is silly, but that is the only way how to reproduce it.
I know you say that it is the problem of the WP plugin developer. I know it's 
my problem.

The problem actually is that the asmselect multiplies select boxes for DOM 
elements that doesn't exist yet :O ...what the.. if they don't exist so why do 
you want to use for non-existent DOM select box? Well they do not exist but 
they do at the same time. I do not know how to explain it. Hope you understand 
this "non-sense" when you look here ... 
http://core.trac.wordpress.org/ticket/19587

I'm not super skilled Javascript programmer at all, but I'm sure this problem 
might happen also to someone else then me. And so I think it might be worthy to 
know, that this might occur.

..thanks a lot.

Original issue reported on code.google.com by 2...@emblem.cc on 24 Feb 2012 at 11:33