Commit graph

37 commits

Author SHA1 Message Date
Francesc Arpí Roca
fd5a8cb6da Modify javascript to also consider the iframes. 2014-02-10 11:05:24 +01:00
Bastian Kruck
9f5f47be59 fixed compatibility with nested inlines (https://github.com/Soaa-/django-nested-inlines) 2013-11-27 13:32:40 +01:00
Jacek Tomaszewski
ca11558bd9 Fix compatibility with older jQuery. 2013-10-10 22:57:59 +02:00
wrwrwr
7cd60aa977 Added a small script unchecking the clear box after a wrapped input is edited.
Note: Starting global declaration, and the somewhat ugly jQuery call are for JSLint.
Also written a class comment for the widget wrapper and cleaned up some Flake8 errors.
2013-05-15 12:01:46 +02:00
deschler
42a79e2db5 Removed breaks between DateTimeField MultiWidget inputs when using tabular inlines. 2013-03-11 00:24:36 +01:00
deschler
af4f647cae Fixed handling of MultiWidget fields such as DateTimeField in tabular inlines. 2013-03-11 00:21:40 +01:00
Dirk Eschler
236f2babfa Fixed columns in tabular inlines not hidden if extra=0 is declared on inline (Resolves issue #156). 2013-02-27 14:28:26 +01:00
Dirk Eschler
23bf2ea1df Simplified alignment of translation and non-translation fields. 2013-02-27 10:30:16 +01:00
Dirk Eschler
c30c6405c0 Added top margin for selects in tabular inlines and excluded date and time fields (this requires more care, added FIXME). 2013-02-26 17:55:17 +01:00
Dominique Lederer
67f42e4f5e readded force_jquery.js, implemented backward compatibility changes, updated docs 2013-02-19 12:59:31 +01:00
Dominique Lederer
123879172e fixing broken tabindex on Tabbed Translation Fields:
- updated to latest jquery UI, which fixes the totaly wrong tabindex when using Tabbed Translation Fields. This also needs a newer jquery, so django shipped jquery can no longer be used.
- udated docs according to changes
2013-02-18 21:54:27 +01:00
deschler
a3ae593aff Don't limit fields to text type, we support file fields now. 2013-02-17 22:51:24 +01:00
deschler
9e09bdccbc Moved update tab functionality to MainSwitch. 2013-02-17 19:23:50 +01:00
deschler
28f1a5eff2 Refactored MainSwitch into a singleton. 2013-02-17 16:59:34 +01:00
deschler
f262c5717a Fixed some visual glitches in tabular inlines. 2013-02-17 14:03:31 +01:00
deschler
8d2a7a7798 Refactored tabular inline treatment. Introduced a new TabularInlineGroup which stores information about its contained table. It handles most the complexity like updating the table or retrieving its translation fields through a TranslationFieldGrouper. It can return either all translation fields for the initial regrouping of columns or translation fields based on a jquery selector to handle the add another links. 2013-02-17 12:50:04 +01:00
deschler
6f60e4110b Merge branch 'master' into tabbed-tabular-inlines 2013-02-16 13:44:29 +01:00
deschler
7ff2a83240 Handled models that are used as inlines on the same page more than once. 2013-02-16 13:43:33 +01:00
deschler
bfc65c163f Started work on support for tabular inlines in tabbed translation fields (issue #66). 2013-02-16 13:41:43 +01:00
Dirk Eschler
03d933050a - Refactored the translation field grouping: Added a new reusable TranslationFieldGrouper which groups TranslationFields based on a fieldSelector parameter.
- Used camelCase consistently (this ain't Python).
2013-02-15 16:15:57 +01:00
Dirk Eschler
3b99305965 Initial work issue #79, where fields added through a add another link in stacked inlines aren't tabbed. 2013-02-14 17:56:16 +01:00
Dirk Eschler
f03d89d98d Handled generic inlines and fixed the ids used for tabs. 2013-02-13 11:04:54 +01:00
deschler
f470d2399c Fixed keys used in tabbed translation to group translations are not unique for inlines. A potential fix for issue #121 (work-in-progress). 2013-02-12 23:32:03 +01:00
wrwrwr
79165ed942 Avoid computing "grouped_translations" twice (for tabs and the main switch) in the tabbed translation admin script (the second computation was missing some languages under certain circumstances). 2013-01-24 13:00:32 +01:00
Dirk Eschler
321b8a1e48 Added comment about zinnia. 2012-11-29 13:13:07 +01:00
Mihai Sucan
6b48b46685 Update modeltranslation/static/modeltranslation/js/tabbed_translation_fields.js
Add support for fields inside collapsed groups.
2012-11-27 15:49:32 +02:00
Dirk Eschler
9fba4bcac9 Reverted to old force_jquery.js behaviour. 2012-10-27 15:30:37 +02:00
Dirk Eschler
9f8571e655 Revert "Removed force_jquery.js."
This reverts commit 422c7aed74.
2012-10-27 14:43:08 +02:00
Dirk Eschler
422c7aed74 Removed force_jquery.js. 2012-10-26 16:02:22 +02:00
Jaap Roes
ae7477e439 issue 88
I think this is all that needs to change when you want to
depend on the version of jquery that's shipped with Django
2012-10-26 16:30:49 +03:00
Dirk Eschler
12ff878532 Fixed misnamed variable. 2012-10-19 13:45:34 +02:00
Dirk Eschler
9d58478b2e Fixed tabs don't properly support two-part language codes. Resolves issue 63. 2012-10-19 13:32:33 +02:00
Dirk Eschler
2edd7e1f57 Excluded tabular inlines from jQuery tabs, as they are currently not supported. 2012-08-06 11:51:16 +00:00
Dirk Eschler
d208a9d157 Changed jQuery search path. This allows use of a version of jQuery other than the one provided by Django. Users who want to force the use of Django's jQuery can include force_jquery.js. 2012-02-23 09:31:16 +00:00
Dirk Eschler
9ed4b2167e Reverted r123 as this leads to problems with inlines. 2011-10-10 19:53:33 +00:00
Dirk Eschler
6055a1daec Fixed tabs don't properly support two-part language codes. Resolves issue 63. 2011-10-10 18:13:20 +00:00
Dirk Eschler
15d0896415 Renamed media folder to static. 2011-06-05 19:46:20 +00:00