summaryrefslogtreecommitdiff
path: root/lib/grappelli/media/js/GRAPPELLI_INFO.TXT
blob: c26d607a4ee28c358f641f9a960391eab947337d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
JavaScript infos about grappelli:

grappelli adds much additional features to the django.contrib.admin. to accomplish this the js loaded in grappelli is pretty different to django admin's.

###
loading order of grappelli:
###

 * jquery-1.4.2.min.js
 * jquery-ui-1.8.custom.min.js (with datepicker)
 * grappelli.init.js
 * grappelli.timepicker.js
 * grappelli.RelatedObjectLookups.js
 * grappelli.js
 * (optional) grappelli.change_list.js


###
django.admin js removed:
###

grappelli has its own adminmedia folder. some of django's js files are missing (intentionally)

actions.js, actions.min.js
jquery.js, jquery.min.js
collapse.js, collapse.min.js
calendar.js
jquery.init.js

###
django.admin js updated:
###

datetimeshortcuts.js
    - outcommented initialization of js for date fields (use jquery-ui datepicker @see grappelli.js)
RelatedObjectLookups.js
    Popups:
        - trigger focus/click event of element to open cancel/save footer in changelist
        - open popups with 500x920 instead of 500x800

###
js added by grappelli:
###
 
    grappelli.change_list.js
        - all js magic for change_list
    
    grappelli.RelatedObjectLookups.js
        - customization and initialization
    
    grappelli.js
        - grappelli wide features like collapsables
        - hacks like editing dom which is rendered from python code (not customizable via templates)
    
    media/jquery/*
        - "own" jquery (use newer version than original)
        - jquery-ui stuff like datepicker