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

Jquery 2.1.3 & Bootstrap 3.3.1 #44

Closed
Lesac76 opened this issue Feb 27, 2015 · 5 comments
Closed

Jquery 2.1.3 & Bootstrap 3.3.1 #44

Lesac76 opened this issue Feb 27, 2015 · 5 comments

Comments

@Lesac76
Copy link

Lesac76 commented Feb 27, 2015

Seem not to be compatible:
Console error: modal is not a function

@dwmkerr
Copy link
Owner

dwmkerr commented Feb 27, 2015

I'll check it now

@dwmkerr
Copy link
Owner

dwmkerr commented Feb 27, 2015

@Lesac76 can you try now with v0.6.2?

@Lesac76
Copy link
Author

Lesac76 commented Feb 27, 2015

I had to deactivate the following line in the Controller where the modalService is called:
//modal.element.modal();

And in the template I had to delete the top < div >
< div class="modal-dialog" >

Then it works in the old version 0.6 and in the newest 0.6.3 in all current browsers (chrome, firefox, ie, safari) but without the nice dark background and fade in.

@dwmkerr
Copy link
Owner

dwmkerr commented Feb 27, 2015

Something is definitely wrong then, I've checked out the code to a clean location and it all works fine. Are you using the samples app? If so, make sure to use gulp not grunt to run it. Except for that it should work fine, backdrop included. And you'll need to use modal.element.modal to show the modal. What is your template looking like and what line did you delete?

@Lesac76
Copy link
Author

Lesac76 commented Feb 27, 2015

#14

You suggested on one of the older issues to extra include bootstrap modal. I tried that and it solved my problem. Seems like gulp wasn't including bootstrap js files.

Thx for your time.

@Lesac76 Lesac76 closed this as completed Feb 28, 2015
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