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

Problem with datepicker and comurimage bundle #95

Closed
toullec opened this issue Apr 19, 2017 · 1 comment
Closed

Problem with datepicker and comurimage bundle #95

toullec opened this issue Apr 19, 2017 · 1 comment

Comments

@toullec
Copy link

toullec commented Apr 19, 2017

Hello,

I have problem with my comurimage bundle and my datepicker. When I include comurimage bundle, datepicker is not recognized in the console "datepicker() is not a function", and when I include comurbundle after datepicker function, I have an error about fileupload.js in the console but datepicker is recognized and works

Uncaught TypeError: $(...).fileupload is not a function
at initializeImageManager (comur.imagelibrary.js:60)
at HTMLDivElement. (/:591)
at HTMLDivElement.dispatch (jquery.min.js:3)
at HTMLDivElement.r.handle (jquery.min.js:3)

ComurImage bundle include:
{% include "ComurImageBundle:Form:croppable_image_modal.html.twig"%}

<script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script> <script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>

Jquery and css include:

<script src="/Symfony/web/bundles/comurimage/js/jquery.js"></script> <script src="/Symfony/web/bundles/comurimage/js/jquery.ui.widget.js"></script> <script src="/Symfony/web/bundles/comurimage/js/jquery.iframe-transport.js"></script> <script src="/Symfony/web/bundles/comurimage/js/jquery.fileupload.js"></script> <script src="/Symfony/web/bundles/comurimage/js/jquery.Jcrop.min.js"></script> <script src="/Symfony/web/bundles/comurimage/js/jquery.color.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/holder/2.5.2/holder.min.js"></script> <script src="/Symfony/web/bundles/comurimage/js/bootstrap.min.js"></script> <script src="/Symfony/web/bundles/comurimage/js/comur.imagelibrary.js"></script>
×

Uploader image

Glissez votre fichier ici

ou

Sélectionnez un fichier...

Veuillez ajuster la selection à votre image

Veuillez uploader ou sélectionner une image existante

Fermer Cropper & Utiliser ! Cancel
<script> $('#image_upload_modal').on({ 'hidden.bs.modal': destroyImageManager }); </script> <script src="/Symfony/web/bundles/fosjsrouting/js/router.js"></script> <script src="/Symfony/web/app_dev.php/js/routing?callback=fos.Router.setData"></script> <style> .navbar-custom { background-color: #25a45b; position:fixed; } </style> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="/Symfony/web/js/bootstrap.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment-with-locales.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.43/js/bootstrap-datetimepicker.min.js"></script>
@comur
Copy link
Owner

comur commented May 30, 2019

Too old. I close. Feel free to open new issue if you have any problem

@comur comur closed this as completed May 30, 2019
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