Closed tugberkugurlu closed 12 years ago
Hey @tugberkugurlu,
Thanks for opening this issue! Unfortunately, it looks like it fails to pass the criteria neccessary for submitting to bootstrap. The following things are currently failing:
For a full list of issue filing guidelines, please refer to the bootstrap issue filing guidelines.
thanks!
@koenpunt wow, sorry but I am not gonna do that. I took the time and have provided the whole code inside the issue. If you guys don't care to fix it (in case, this is really a bug), I don't care either.
Thanks!
Ow crap, my bad, did run make haunt
to see what it does and at first it showed me nothing, but now I see; it commented on all the issues..
@koenpunt HAUNT GITHUB ISSUES 4 FAT & MDO ONLY (O_O )
lol facepalm bro
also @tugberkugurlu adding a jsfiddle is super helpful – reading through your js i can't tell what's wrong.
this means i would have to create a jsfiddle myself to debug your problem. which i don't have time to do. Feel free to reopen this issue with a link to a jsfiddle
@fat do I look like an idle person to you? Sorry but I don't have time for this either. You would be absolutely right if I didn't supply the necessary code for you to repro the issue, but apparently I did!
Ignore the potential problem inside your code base if you think this is a problem.
@fat Yeah, read that. Continued. I'm cocky.
Well this issue cost me a lot of time - I understand it's closed but I leave this insight for any future victims who stumble upon this thread.
You can workaround the issue by manually re-initialising the carousel after the new data has been loaded
$(
@tugberkugurlu .... there is usage of jQuery func .. "DATA" in bootstrap..
return this.each(function () { var data = $(this).data(DATA_KEY); var _config = $.extend({}, Default, $(this).data()); ... }
at line 1206 in bootstrap.js ...
So, removing something added using 'data' should be done by 'removeData'
I have bootstrap, jQuery and knockoutjs referenced in my project and assuming I have the following html code:
On the first run,
accommPropertyImages
array is filled up and carousel is being activated with the following code:I also have the following code and this nulls the
accommPropertyImages
array, gets new images from the HTTP service and fills up the array again. The knockoutjs then picks it up and appends the new items.Also, notice that I have a line of code here:
$carouselContainer.removeData('carousel');
. If I don't have this, carousel slide doesn't work sometimes.Is this is a bug?