summaryrefslogtreecommitdiff
path: root/django/contrib/admin/media/js
AgeCommit message (Collapse)Author
2011-06-30Fixed #16050 -- BACKWARDS-INCOMPATIBLE CHANGE: Moved static files of the ↵Jannis Leidel
admin to conventional file system location. This also removes the need for ADMIN_MEDIA_PREFIX and replaces it with the convention to find admin's static files at STATIC_URL + 'admin/'. Thanks to Jacob for the review and general help. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16Stopped the admin JavaScript code from completely removing the `jQuery` ↵Jannis Leidel
object from the global namespace to ease the use of jQuery plugins. The `django.jQuery` object is still supposed to be used by Django's own JavaScript files. Refs #12882. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #11531 -- Removed unused dateparse.js from admin JavaScript directory.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-17Fixed #15569 -- Corrected the numbering updates to inlines when rows are ↵Russell Keith-Magee
added and deleted. Thanks to sbaechler for the report, to Arthur de Jong and mk for the work on the patch, and to Karen Tracey for the last minute testing help. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-06Fixed #13674 -- Ensure that labels on added inlines fields have the right ↵Russell Keith-Magee
'for' attribute. Thanks to Jonas for the report, and Julien Phalip for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05Fixed #14303 -- Ensure that the ids created for new inlines are unique after ↵Russell Keith-Magee
interstitial deletions have occurred. Thanks to m0nonoke for the report, and Julien Phalip for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05Fixed #14830 -- Ensure that radio buttons on inlines preserve their default ↵Russell Keith-Magee
value. Thanks to Julien Phalip for the report and patch, and to antoinemartin for the diagnosis. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-05Fixed #12959 -- Added alt text to SelectFilter filter button. Thanks, acdha.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-05Fixed #6183 -- Stopped hiding the help text for SelectFilter widgets. ↵Jannis Leidel
Thanks, acdha. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-04Fixed #11414 -- Made sure the calendar and clock popup windows in the admin ↵Ramiro Morales
don't have a negative vertical position. Thanks uipko for the report and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10Fixed #14193: prepopulated_fields javascript now concatenates in correct ↵Andrew Godwin
order. Thanks to bmihelac for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10Fixed date parsing of 31st dates when current month has 30 days (!!).Malcolm Tredinnick
Patch from rich@tablexi.com. Fixed #2975. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12Fixed #13486 -- Corrected handling of %I in admin javascript version of ↵Russell Keith-Magee
strftime. Thanks to Bufke for the report, and jmil for the solution. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-11Fixed #13521 -- Corrected javascript comparisons determining when to show ↵Russell Keith-Magee
and hide the 'add another' inline button. Thanks to darkrho for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04Fixed #13459 -- Corrected numbering of tr elements in the admin. Reverts the ↵Russell Keith-Magee
changes introduced in r13068. Thanks to 3point2 for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-02Fixed #13166 - Added JavaScript warnings to admin changelist to help against ↵Jannis Leidel
ambiguity between action and list_editable form submission. Thanks to blinkylights and aaugustin for the report and initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-02Fixed #13459 -- Corrected ID numbering of dynamically added inlines in the ↵Russell Keith-Magee
admin. Thanks to 3point2 for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-19Fixed #11967: use a different technique to get `ADMIN_MEDIA_PREFIX` in admin JS.Jacob Kaplan-Moss
We now store ADMIN_MEDIA_PREFIX on the window object and let JS files read it from there. The old technique -- looking a <script> tags and trying to deduce the prefix -- broke with libraries like TineMCE that dynamically add <script> tags to the <head>. This is potentially backwards-incompatible for folks who've overridden `admin/base.html`; they'll need to add the proper <script> line to their new `admin/base.html`. For that reason, this changeset shouldn't be backported to 1.1.X. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-13Fixed #13290 - Added a section about minification of admin JavaScript files ↵Jannis Leidel
to the contributing docs. Thanks to Gabriel Hurley for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-13Fixed #12903 - Made translating the admin action selection text easier. ↵Jannis Leidel
Thanks to Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-13Also minify the JavaScript file for pre-populated form fields in the admin.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-13Fixed #12882 - Moved the admin's jQuery into our own namespace to lower the ↵Jannis Leidel
risk of a clash with third party apps that use jQuery. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-07Fixed #13068, #9264, #9983, #9784 - regression with pre-populated fields and ↵Luke Plant
javascript inlines, and related bugs. Thanks to hejsan for the report, and to Sean Brant and Carl Meyer for the patch. #13068 is a regression caused by the new javascript inline forms in the admin. The others were existing javascript bugs with prepopulated fields. Since the solution depends on jQuery and would likely be very hard to backport without it, it will not be backported to 1.1.X. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27Updated jQuery to 1.4.2.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27Fixed #13023 - Removed ambiguity with regard to the max_num option of ↵Jannis Leidel
formsets and as a result of admin inlines. Thanks to Gabriel Hurley for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27Fixed #13175 - Fixed an off-by-one error in the admin inline JavaScript that ↵Jannis Leidel
resulted in wrong form field prefixes. Thanks DrMeers for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-15Fixed #13026 - Also update the index of lookup links when adding inlines ↵Jannis Leidel
dynmacially in the admin. Thanks to ramusus and Rob Hudson for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-17Fixed #12705 -- Date/time and select filter widgets now work again with ↵Justin Bronn
newly added inline forms in the admin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-07Fixed #12748 - Use charAt instead of array-like access to format string to ↵Jannis Leidel
please IE. Thanks, yedpodtrzitko. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-01Use a closure for embedding the admin actions JavaScript and updated the ↵Jannis Leidel
minified versions a little bit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-01Being a good citizen, adding the jQuery license and a command line script to ↵Jannis Leidel
easily minify the jQuery based scripts. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-01Fixed #12695 - Force Firefox to not autocomplete input fields that are ↵Jannis Leidel
critical to the dynamic admin inlines. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-01Fixed #12692 - Properly handle the extra clause of admin inline formsets. ↵Jannis Leidel
Also fixes #12703, second error. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-26Ported collapsible admin fieldsets to jQuery. Thanks Rob Hudson.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-26Fixed #12282 - When paginated allow selecting all items in the admin changlist.Jannis Leidel
Thanks to Martin Mahner, Rob Hudson and Zain Memon for providing inital patches and guidance. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-26Fixed #12508 - Added ability to dynamically add inlines in the admin app.Jannis Leidel
Refs #13. Also introduces an ``empty_form`` attribute on formsets to make it easier to implement dynamic forms. Many thanks to Zain Memon for the initial patch from his Summer of Code 2009 project, Stanislaus Madueke for his django-dynamic-formset app and all the other people helping out. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-09Fixed #11697 - Allow shift clicking for selecting multiple action checkboxes ↵Jannis Leidel
in the admin changelist. Thanks buriy and Sean Brant. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-05Fixed #10615 - Added selection counter to admin change list. Thanks to ↵Jannis Leidel
Martin Mahner for the idea and initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-04Fixed #11314 - Highlight the current date in the admin calendar widget.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-04Fixed #12492 - Refactored JavaScript format localization by separating it ↵Jannis Leidel
from the translation backend. Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-01Adding trailing semicolons to admin date and time widgets JavaScript (Refs ↵Jannis Leidel
[12030]). Some whitespace cleanup. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-30Fixed #12454 - Added support for localized formats to admin date and time ↵Jannis Leidel
widgets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22Fixed #7980 - Improved i18n framework to support locale aware formatting ↵Jannis Leidel
(dates and numbers) and form processing. Thanks to Marc Garcia for working on this during his Google Summer of Code 2009! Additionally fixes #1061, #2203, #3940, #5526, #6449, #6231, #6693, #6783, #9366 and #10891. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-11Fixed #10783 -- Fixed Javascript error when adding a new object in admin.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-11Fixed #10782 -- Fixed a Javascript error in the admin.Malcolm Tredinnick
Viewing an empty changelist page no longer attempts to attach event listeners to an undefined object. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-08Fixed #9341: add another on `ManyToManyField`s with `raw_id_admins` now ↵Jacob Kaplan-Moss
works correctly. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31Fixed a corner case from [10258]; thanks, Alex.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31Added row highlighting when selecting action checkmarks.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24Fixed #10597 -- select all checkbox on admin changelist now works under IE 6 ↵Brian Rosner
and 7. Thanks kyle.fox. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23Fixed #10505: added support for bulk admin actions, including a ↵Jacob Kaplan-Moss
globally-available "delete selected" action. See the documentation for details. This work started life as Brian Beck's "django-batchadmin." It was rewritten for inclusion in Django by Alex Gaynor, Jannis Leidel (jezdez), and Martin Mahner (bartTC). Thanks, guys! git-svn-id: http://code.djangoproject.com/svn/django/trunk@10121 bcc190cf-cafb-0310-a4f2-bffc1f526a37