Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Peccatte <hugues.peccatte@gmail.com>2019-08-20 20:32:42 +0300
committerHugues Peccatte <hugues.peccatte@gmail.com>2019-08-20 21:46:20 +0300
commitda9d907ad1b17c31d293bff56f10fdaca52672c1 (patch)
tree5571afcad1d52e4e14f6261c74d06721e74cbc6f /templates
parent10745bb39275a6f5ac7c62c063fa6433dfc8854b (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.twig4
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' : '&gt;' }}
- </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' : '&gt;' }}</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') }}"