Columnizer-jQuery-Plugin icon indicating copy to clipboard operation
Columnizer-jQuery-Plugin copied to clipboard

$inBox.empty() in line 93 seems to make columnize() not work

Open fractalf opened this issue 12 years ago • 2 comments

I have an empty that append some stuff into through ajax and then run columize() on. Nothing happens. When I comment out $inBox.empty(); in line 93 it works.

Edit: I'm using v.1.6.0 and jQuery v.1.10.2

fractalf avatar Oct 17 '13 08:10 fractalf

Do you have a URL where I can see this in action?

adamwulf avatar Oct 18 '13 08:10 adamwulf

Sorry, all the code is part of a bigger admin panel I make at work. I debugged the problem as far as realizing that $inBox.empty() makes the "state" of the container hidden (did a if ($inBox.is(':hidden') test) which led numCols to be 0 (line 381). Not 100% sure this is the issue as I don't really have time to debug this further right now. My quickfix was just to comment out that code in line 93 and it worked. Btw, there are some commented out code in around line 390.

fractalf avatar Oct 18 '13 09:10 fractalf