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-01-28 10:24:02 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-01-28 10:24:02 +0300
commitb4188b0d0b4d0e4ab07c1a861e73d7fc5c32cb5b (patch)
treef978b1a14ec3705fbf6bc093addf09b598b817ea /js/indexes.js
parent05c5ba753cd9f67019aa3f3ad125cc6be4296550 (diff)
rfe #767 USING BTREE support for HEAP/MEMORY tables
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/indexes.js')
-rw-r--r--js/indexes.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/indexes.js b/js/indexes.js
index c92218ee57..b1040a7f28 100644
--- a/js/indexes.js
+++ b/js/indexes.js
@@ -19,6 +19,10 @@ function checkIndexType()
*/
$select_index_choice = $('#select_index_choice');
/**
+ * @var Object Dropdown to select the index type.
+ */
+ $select_index_type = $('#select_index_type');
+ /**
* @var Object Table header for the size column.
*/
$size_header = $('#index_columns thead tr th:nth-child(2)');
@@ -78,6 +82,13 @@ function checkIndexType()
// Show controllers to add more columns
$add_more.show();
}
+
+ if ($select_index_choice.val() == 'SPATIAL' ||
+ $select_index_choice.val() == 'FULLTEXT') {
+ $select_index_type.val('').prop('disabled', true);
+ } else {
+ $select_index_type.prop('disabled', false)
+ }
}
/**