Thodoris Greasidis
Thodoris Greasidis
Do you get any error in your browser console?
I would also suggest to **avoid** using `ng-class` (and any other DOM manipulations) directly on the ``. You can probably just wrap the ``'s content in an other `` and...
It could be. Can you try doing `droptargetModel.slice()` ? Also in which option are you setting b the cookie?
It looks like that this might be a problem for #248. Unfortunately I never actually created test cases for the `items` option...
Take a look at #225. It seems that calling sortable('refresh') after the `items` property changes, can be a good workaround for this.
The Dev branch of ui-sortable v0.13.x contains a workaround for an other [jquery UI bug related to horizontal lists with initially empty content](http://bugs.jqueryui.com/ticket/7498) ([details](https://github.com/angular-ui/ui-sortable/issues/19)). The target milestone for this jquery...
if you check out [this example](http://codepen.io/arkarkark/pen/qzepH) from #225 you can see that the blue item is disabled from the start. There is also a [test case](https://github.com/angular-ui/ui-sortable/blob/2ce617f1a00df6f8e562a6cf65c4212284f6dcb6/test/sortable.e2e.spec.js#L57-L103) for the items property...
There is still no update in the jquery-ui issue and we have not yet introduced any workaround.
A late related update... The `locked items` example in README suggests to use the `cancel` option if looks good for your use case.
This is not currently in the use cases of the sortable directive. I suppose it would be nice to have as an enhancement. Angular 1.2 changed lots of things for...