Closed bashmish closed 12 years ago
Thank you for this fix!
I think should be replicated in jQuery.colorPicker.js, in order to use always the same jquery object.
@hugoArregui you mean in the project itself?
i'm sorry, it's fixed here... i was looking at the "pip version".. there, this check "jQuery || django.jQuery" is still in js. My bad. Sorry again!
@hugoArregui no problems :) Was just trying to figure out what you were talking about.
There is a bug that leads to improper jQuery object extending.
If some other admin widget appends jQuery object to a page then it is extended with colorPicker method. But in widget script still Django's own jQuery object is used that doen't get colorPicker method. So we need to make jQuery object check consistent in both cases.
PS: I encountered this bug trying to use your widget with django-image-cropping widget.