Skip to content

Conversation

@bojanbass
Copy link

Hi,

I made a replacement inside column directive to use ng-sortable angular wrapper for Sortable library. I removed a lot of unused code from column directive this way. Please check, if it makes sense to use this one in your framework. A downside is that we have to include a new js library ng-sortable.js and inject it as angular dependency at startup. I also fixed the sample code to work with these changes.

Regards.

replaced Sortable with ng-sortable wrapper
changed sample to use ng-sortable
@sdorra sdorra added this to the next milestone Oct 18, 2015
@sdorra sdorra self-assigned this Oct 18, 2015
@sdorra
Copy link
Member

sdorra commented Oct 18, 2015

We had some problems with ng-sortable, during the drag and drop implementation with sortable (in particular with deactivated debug mode). It looks that the debug mode problem is fixed (#255). We have todo some tests and we have to fix the unit tests, but i think it is a great idea to replace the drag and drop code with the ng-sortable directive.

@sdorra
Copy link
Member

sdorra commented Oct 18, 2015

I've done some tests with the samples and i got a lot of issues:

Uncaught TypeError: Cannot read property 'splice' of undefined
Uncaught TypeError: Cannot read property 'options' of null

@bojanbass
Copy link
Author

Could you tell me which actions caused these errors? Also I forgot to fix unit tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants