mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-17 10:13:56 -05:00
move tag colour override to static folder
This commit is contained in:
parent
d6eefbccee
commit
ba452e0524
@ -1,7 +1,6 @@
|
|||||||
// The following jQuery snippet will add a small square next to the selection
|
// The following jQuery snippet will add a small square next to the selection
|
||||||
// drop-down on the `Add tag` page that will update to show the selected tag
|
// drop-down on the `Add tag` page that will update to show the selected tag
|
||||||
// color as the drop-down value is changed. Copy and paste it into
|
// color as the drop-down value is changed.
|
||||||
// ``PAPERLESS_MEDIADIR/overrides.js`` to see the effects.
|
|
||||||
|
|
||||||
if (django.jQuery("#id_colour").length) {
|
if (django.jQuery("#id_colour").length) {
|
||||||
|
|
||||||
@ -30,8 +29,7 @@ if (django.jQuery("#id_colour").length) {
|
|||||||
|
|
||||||
// The following jQuery snippet will add a small square next to each selection
|
// The following jQuery snippet will add a small square next to each selection
|
||||||
// drop-down on the `Edit tags` page that will update to show the selected tag
|
// drop-down on the `Edit tags` page that will update to show the selected tag
|
||||||
// color as the drop-down value is changed. Copy and paste it into
|
// color as the drop-down value is changed.
|
||||||
// ``PAPERLESS_MEDIADIR/overrides.js`` to see the effects.
|
|
||||||
|
|
||||||
if (django.jQuery('select[id*="-colour"]').length) {
|
if (django.jQuery('select[id*="-colour"]').length) {
|
||||||
django.jQuery('select[id*="-colour"]').each(function (index, element) {
|
django.jQuery('select[id*="-colour"]').each(function (index, element) {
|
Loading…
x
Reference in New Issue
Block a user