Bug 1874540: stop adding the edit file details if there is no button to edit file allowed
when we list files in filechooser, we can allow to edit
the file details (tag, title, description)
these fields are hidden until we click the button to edit, including the
save button of this form
This save button gets triggered by pressing enter key within
the bigger form.
We don't need to have those hidden fields if we don't allow
the file details to be edited
Reviewed: https:/ /reviews. mahara. org/10943 /git.mahara. org/mahara/ mahara/ commit/ 64695ae0ee0d6ae 2dca898212391a4 6d9bda5648
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 64695ae0ee0d6ae 2dca898212391a4 6d9bda5648
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Apr 29 10:12:25 2020 +1200
Bug 1874540: stop adding the edit file details if there is no button to edit file allowed
when we list files in filechooser, we can allow to edit
the file details (tag, title, description)
these fields are hidden until we click the button to edit, including the
save button of this form
This save button gets triggered by pressing enter key within
the bigger form.
We don't need to have those hidden fields if we don't allow
the file details to be edited
Change-Id: Iee75f89b281bb5 f15127f2b30f684 6e20c6782b4