diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-11-16 12:12:18 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-11-28 11:40:16 +0100 |
commit | 14d63bc43b3d7308bfd55c581d3770319ecb9fb6 (patch) | |
tree | b9b1a4a8f01175222e8d8e2d46eb05aee13c89f0 /archaeological_finds/forms.py | |
parent | a5bb90fa9926c2593965dcfe2859388bc542a08c (diff) | |
download | Ishtar-14d63bc43b3d7308bfd55c581d3770319ecb9fb6.tar.bz2 Ishtar-14d63bc43b3d7308bfd55c581d3770319ecb9fb6.zip |
Datatable: JS to disable submit button when multiple or none is selected
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r-- | archaeological_finds/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index 5ca8618d5..663ab3663 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -725,7 +725,7 @@ class FindFormSelection(CustomFormSearch): label="", required=False, widget=widgets.DataTable( reverse_lazy('get-find'), - FindSelect, models.Find, + FindSelect, models.Find, source_full=reverse_lazy('get-find-full')), validators=[valid_id(models.Find)]) |