django-dajaxice icon indicating copy to clipboard operation
django-dajaxice copied to clipboard

Jquery dajaxice

Open SoftwareMaven opened this issue 12 years ago • 2 comments

While I appreciate not needing to have a particular library (such as jquery) installed, for those of us who do, it is nice to have access to things like jQuery.ajax's deferreds.

This patch keeps the original semantics of no-framework by default. However, if you set DAJAXICE_JS_LIBRARY to 'jquery', the underlying Dajaxice.call is replaced with a jQuery-optimized version that returns the jqxhr object.

SoftwareMaven avatar Nov 25 '12 22:11 SoftwareMaven

Any plans to accept this?

duduklein avatar Jul 01 '13 15:07 duduklein

After struggling with the problem that dajaxice 'does' some (at least by me) unforeseen magic on the jQuery .load function, which can get remedied by setting DAJAXICE_XMLHTTPREQUEST_JS_IMPORT to False in your settings.py file ... I would like to see this patch accepted since it doesn't break the "no-framework" rule but adds better handling for those who use jQuery. Please consider.

moreloci avatar Oct 06 '13 18:10 moreloci