Note that there are some explanatory texts on larger screens.

plurals
  1. PONested Sortable JQuery list doesn't work in IE while it does in FF
    primarykey
    data
    text
    <p>While I'm using this site quite often as a resource for jQuery related problems I can't seem to find an answer this time. So here is my first post.</p> <p>During daytime at work I'm developing an informationsystem for generating MS Word documents. One of the modules I'm developing is for defining a default chapterselection for the table of contents and selecting texts by the given chapters. A user can submit new chapters and if necessary, add them as childchapter to a parent, flag them as 'adopt in TOC' and link a default text (from another module) to the chapter.</p> <p>My chapterlist is retreived recursively from a MySQL table and could look something like this:</p> <pre><code>&lt;ul class="sortableChapterlist"&gt; &lt;li&gt;1&lt;/li&gt; &lt;li&gt;2 &lt;ul class="sortableChapterlist"&gt; &lt;li&gt;2.1&lt;/li&gt; &lt;li&gt;2.2&lt;/li&gt; &lt;li&gt;2.3 &lt;ul class="sortableChapterlist"&gt; &lt;li&gt;2.3.1&lt;/li&gt; &lt;li&gt;2.3.2&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; </code></pre> <p>In FireFox the code works like a charm but IE (7) doesn't seem to like it that much. I'm only able to correctly drag arround the mainchapters. When attempting to drag a subchapter, no matter it's level, the correspondending mainchapter lifts up with some child, never all.</p> <p>This is the jQuery code I'm using to accomplish the task:</p> <pre><code>$(function(){ $(".sortableChapterlist").sortable({ opacity: 0.7, helper: 'clone', cursor: 'move' }); $(".sortableChapterlist").selectable(); $(".sortableChapterlist").disableSelection(); }); </code></pre> <p>Does anybody have some ideas about this? I'm guessing IE kinda falls over the multiple class reference "chapter_list" in combination with jQuery trying to handle the draggable/sortable.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload