<div dir="ltr">Hi guys,<div><br></div><div>I have a html select list that then I convert to a UL / LI kind of list using Bootstrap select: <a href="https://github.com/silviomoreto/bootstrap-select">https://github.com/silviomoreto/bootstrap-select</a></div><div><br></div><div>I want to make it sortable (which I could) but I cannot correctly hook onto the stop of the drop so that I can update my model/backend side. </div><div><br></div><div>I am trying to do something like:</div><div><br></div><div><div>html script: ((html jQuery id: '#myULList')</div><div><span class="" style="white-space:pre">                        </span> sortable</div><div><span class="" style="white-space:pre">                                </span>onStop: (html jQuery ajax</div><div><span class="" style="white-space:pre">                </span> callback: [ :values | values asOrderedCollection inspect ]</div><div><span class="" style="white-space:pre">                </span> passengers: (html jQuery this find: 'li')))</div><div><br></div><div>Basically...I need to get 'values' with my real objects. The problem is that since I am not rendering the LI items myself (but bootstrap select does), I cannot specify the passenger..I mean...I cannot do something like "html listItem passenger: each" or whatever...</div><div><br></div><div>Any ideas how can I make it work?</div><div><br></div><div>Thanks in advance, </div><div><br></div>-- <br><div class="gmail_signature">Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank" class="vt-p">http://marianopeck.wordpress.com</a><br></div>
</div></div>