Comment 12 for bug 1874540

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/10948
Committed: https://git.mahara.org/mahara/mahara/commit/1738f74c9d32afcd257e732d5cf2fd83c7ee6c4b
Submitter: Robert Lyon (<email address hidden>)
Branch: 20.04_STABLE

commit 1738f74c9d32afcd257e732d5cf2fd83c7ee6c4b
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: Iee75f89b281bb5f15127f2b30f6846e20c6782b4
(cherry picked from commit 64695ae0ee0d6ae2dca898212391a46d9bda5648)