diff options
author | Hugues Peccatte <hugues.peccatte@gmail.com> | 2019-08-20 20:32:42 +0300 |
---|---|---|
committer | Hugues Peccatte <hugues.peccatte@gmail.com> | 2019-08-20 21:46:20 +0300 |
commit | da9d907ad1b17c31d293bff56f10fdaca52672c1 (patch) | |
tree | 5571afcad1d52e4e14f6261c74d06721e74cbc6f /templates | |
parent | 10745bb39275a6f5ac7c62c063fa6433dfc8854b (diff) |
Fix #15446 Tables added from other databases are not collapsing in the designer section
The events to link all buttons to collapse tables were initialized at page loading. But when a new table was added, the event wasn't declared for this one.
With this commit, the event is now also declared on table addition.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/database/designer/database_tables.twig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/database/designer/database_tables.twig b/templates/database/designer/database_tables.twig index 64a63a8058..8d4505eed7 100644 --- a/templates/database/designer/database_tables.twig +++ b/templates/database/designer/database_tables.twig @@ -30,9 +30,7 @@ <td class="small_tab" title="{% trans 'Show/hide columns' %}" id="id_hide_tbody_{{ t_n_url|url_encode }}" - table_name="{{ t_n_url|url_encode }}"> - {{ tab_pos[t_n] is not defined or tab_pos[t_n]['V'] is not empty ? 'v' : '>' }} - </td> + table_name="{{ t_n_url|url_encode }}">{{ tab_pos[t_n] is not defined or tab_pos[t_n]['V'] is not empty ? 'v' : '>' }}</td> <td class="small_tab_pref small_tab_pref_1" table_name_small="{{ table_names_small_url[i] }}"> <img src="{{ theme.getImgPath('designer/exec_small.png') }}" |