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:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-04-23 10:18:26 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-04-23 10:18:26 +0300
commit8dc1fe4727f73724a2fc3a7882574dd46a595e23 (patch)
treee562c3921fc741a51ca79ce52b8d6bff8f366155 /js/indexes.js
parent4da88d0fcf440dc69c36f8872a5f15e87cfb3307 (diff)
parent179e581475327bfc338833d3d6a5cae8ba47e3e1 (diff)
Merge branch 'QA_4_4'
Diffstat (limited to 'js/indexes.js')
-rw-r--r--js/indexes.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/js/indexes.js b/js/indexes.js
index b3dd91498b..9b3b502568 100644
--- a/js/indexes.js
+++ b/js/indexes.js
@@ -368,7 +368,11 @@ function PMA_showAddIndexDialog(source_array, array_index, target_columns, col_i
$('#index_columns td').each(function () {
$(this).css("width", $(this).width() + 'px');
});
- $('#index_columns tbody').sortable();
+ $('#index_columns tbody').sortable({
+ axis: 'y',
+ containment: $("#index_columns tbody"),
+ tolerance: 'pointer'
+ });
// We dont need the slider at this moment.
$(this).find('fieldset.tblFooters').remove();
},