I just run into another problem with my To-do-like sortable list made with Knockout and Knockout-sortable plugin.
I need to put a red delimiter under the element placed in the current time and cancel the sort if a element is dropped before that delimiter.
I tried with a "visible" binding and it works in some way, but the visibile binding just hide the DOM element and it mess up the sortable arrayIndex, adding unnecessary element to it.
<div class="delimiter" data-bind="visible: time() == $root.limit()"></div>
The "if" binding would be better because it insert DOM element only if necessary, but the expression I used with visible is always evaluated to true and I can't figure out why...
<div class="delimiter" data-bind="if: time() == $root.limit()"></div>
Here is the fiddle: http://jsfiddle.net/ingro/VaqqF/
Any help is appreciated, thank you!