Skip to content

Replaced Sortable with ng-sortable #166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy