Hi Team,
I am facing problems creating Sortable List on IE6/IE7 (http://
www.symfony-project.org/book/1_0/11-Ajax-Integration#Sortable%20Lists)
On page refresh you can sort items in the list just fine but once the
sorting is done, you cannot sort again. On Firefox and Safari, it
works perfectly fine. The issue only exists on IE6/IE7. Here is a
quick background on what I am doing:
<div id="playlistwindow>
<ul id="order">
<li id="item_1" class="sortable">Carrots</li>
<li id="item_2" class="sortable">Apples</li>
<li id="item_3" class="sortable">Oranges</li>
<li id="item_4" class="sortable">Brussel sprouts</li>
</ul>
<div id="feedback"></div>
<?php echo sortable_element('order', array(
'url' => 'item/sort',
'update' => 'feedback',
'only' => 'sortable',
'script' => true,
)) ?>
</div>
Basically when I sort the items, I need to refresh the contents on
'playlistwindow' div via AJAX. Once this was done, I was not able to
sort the items anymore. I realised that I was not using 'scipt'=>true
in the sortable call...onces I added that it started working fine in
Firefox and Safari but still does not work in IE6/IE7.
I think when you refresh via AJAX in symfony, IE is not able to
recongnize javascript inside the AJAX refreshed area and does not
execute it again even though script=>true. Is this a known Symfony IE
issue?
Has anyone faced a similar issue on IE? I would really really
appreciate if someone can please throw light on this issue. Really
looking forward for some positive replies.
Thanks,
Snehal
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---