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: Iee75f89b281bb5f15127f2b30f6846e20c6782b4
(cherry picked from commit 64695ae0ee0d6ae2dca898212391a46d9bda5648)
Reviewed: https:/ /reviews. mahara. org/10948 /git.mahara. org/mahara/ mahara/ commit/ 1738f74c9d32afc d257e732d5cf2fd 83c7ee6c4b
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 20.04_STABLE
commit 1738f74c9d32afc d257e732d5cf2fd 83c7ee6c4b
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 2dca898212391a4 6d9bda5648)
(cherry picked from commit 64695ae0ee0d6ae