Commit e9b2fc1
committed
[soc2009/admin-ui] One step further to adding inlines using javascript.
This time, we clone the first hidden extra-inline field, append it to the inline list, and update its id. This is actually a pretty terrible way to add inlines, but it serves the purpose of showing what an addition will look like.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@10940 bcc190cf-cafb-0310-a4f2-bffc1f526a371 parent 6252301 commit e9b2fc1
File tree
2 files changed
+9
-3
lines changed- django/contrib/admin
- templates/admin/edit_inline
2 files changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
868 | 868 | | |
869 | 869 | | |
870 | 870 | | |
871 | | - | |
872 | 871 | | |
873 | 872 | | |
874 | 873 | | |
| |||
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
52 | 59 | | |
53 | 60 | | |
54 | 61 | | |
0 commit comments