Skip to content
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

Doesn't work in AngularStrap Modals #20

Open
Carw opened this issue Apr 14, 2015 · 6 comments
Open

Doesn't work in AngularStrap Modals #20

Carw opened this issue Apr 14, 2015 · 6 comments

Comments

@Carw
Copy link

Carw commented Apr 14, 2015

Doesn't work Drag and Drop in modal.

@Wildhoney
Copy link
Owner

Would be nice if you could setup a simple JSFiddle for this.

@Carw
Copy link
Author

Carw commented Apr 15, 2015

Example here: http://jsfiddle.net/kaphysbr/2/
I've placed 2 ngDroplets there.

@Carw
Copy link
Author

Carw commented May 1, 2015

Any idea?

@Wildhoney
Copy link
Owner

Sadly not, as I've never used ngStrap before. I don't understand why the content isn't showing.

@Carw
Copy link
Author

Carw commented May 1, 2015

So strange, but it works If i change function $scope.filterFiles:

$scope.filterFiles = function filterFiles(type) {
    return $scope.files;
};

But filter is working correctly. I tried to use console.log($scope.files) in function getFiles. Sometimes it returns my files and sometimes only [].

@Carw
Copy link
Author

Carw commented May 1, 2015

It's a problem with $scope.$on for options. Modals uses template that start working when we press button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants