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
path: root/js
diff options
context:
space:
mode:
authorHugues Peccatte <hugues.peccatte@gmail.com>2019-08-21 01:20:13 +0300
committerHugues Peccatte <hugues.peccatte@gmail.com>2019-08-21 01:20:13 +0300
commitac340e29b6c53c4722789650c9500891c6b1f5e8 (patch)
tree1e6f39506be3b155f9ad7685de256444dc7a1d3d /js
parentde57539fb71beacba54b18283893ca3cba6f01cf (diff)
Add missing overlay on added tables
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Diffstat (limited to 'js')
-rw-r--r--js/designer/move.js27
1 files changed, 14 insertions, 13 deletions
diff --git a/js/designer/move.js b/js/designer/move.js
index d0655c80fb..5d3719822a 100644
--- a/js/designer/move.js
+++ b/js/designer/move.js
@@ -1981,6 +1981,20 @@ function enableTableEvents(index, element) {
var params = ($(this).attr('click_field_param')).split(',');
Click_field(params[3], params[0], params[1], params[2]);
});
+
+ $(element).find('.tab_zag_noquery').mouseover(function () {
+ Table_onover($(this).attr('table_name'),0, $(this).attr('query_set'));
+ });
+ $(element).find('.tab_zag_noquery').mouseout(function () {
+ Table_onover($(this).attr('table_name'),1, $(this).attr('query_set'));
+ });
+ $(element).find('.tab_zag_query').mouseover(function () {
+ Table_onover($(this).attr('table_name'),0, 1);
+ });
+ $(element).find('.tab_zag_query').mouseout(function () {
+ Table_onover($(this).attr('table_name'),1, 1);
+ });
+
enablePageContentEvents();
}
@@ -2139,19 +2153,6 @@ AJAX.registerOnload('designer/move.js', function () {
$('.designer_tab').each(enableTableEvents);
$('.designer_tab').each(addTableToTablesList);
- $('.tab_zag_noquery').mouseover(function () {
- Table_onover($(this).attr('table_name'),0, $(this).attr('query_set'));
- });
- $('.tab_zag_noquery').mouseout(function () {
- Table_onover($(this).attr('table_name'),1, $(this).attr('query_set'));
- });
- $('.tab_zag_query').mouseover(function () {
- Table_onover($(this).attr('table_name'),0, 1);
- });
- $('.tab_zag_query').mouseout(function () {
- Table_onover($(this).attr('table_name'),1, 1);
- });
-
$('input#del_button').click(function () {
Upd_relation();
});