mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-25 19:47:23 +02:00
Add teams
This commit is contained in:
12
static/colorfield/colorfield.js
Normal file
12
static/colorfield/colorfield.js
Normal file
@ -0,0 +1,12 @@
|
||||
/** global: django */
|
||||
|
||||
window.onload = function() {
|
||||
if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined') {
|
||||
(function($) {
|
||||
// add colopicker to inlines added dynamically
|
||||
$(document).on('formset:added', function onFormsetAdded(event, row) {
|
||||
jscolor.installByClassName('jscolor');
|
||||
});
|
||||
}(django.jQuery));
|
||||
}
|
||||
};
|
1855
static/colorfield/jscolor/jscolor.js
Executable file
1855
static/colorfield/jscolor/jscolor.js
Executable file
File diff suppressed because it is too large
Load Diff
1
static/colorfield/jscolor/jscolor.min.js
vendored
Executable file
1
static/colorfield/jscolor/jscolor.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user