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>2011-08-01 08:06:29 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2011-08-01 08:06:29 +0400
commit36c55adb9ebc4b341bc52e3ad839b9909365fa78 (patch)
tree929ada6d27eda148d6c906113cedc85dfa88262e /js/tbl_select.js
parent304a5d666b1f52695851df6a9d2ead74e3f8f9c1 (diff)
Disabling causes problems as value is not passed. Use readonly.
Diffstat (limited to 'js/tbl_select.js')
-rw-r--r--js/tbl_select.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tbl_select.js b/js/tbl_select.js
index dd083f5221..00fdbb962f 100644
--- a/js/tbl_select.js
+++ b/js/tbl_select.js
@@ -152,9 +152,9 @@ $(document).ready(function() {
// If the chosen function takes two geomerty objects as parameters
var $operator = $geomFuncSelector.parents('tr').find('td:nth-child(5)').find('select');
if ($.inArray($geomFuncSelector.val(), binaryFunctions) >= 0){
- $operator.attr('disabled', true);
+ $operator.attr('readonly', true);
} else {
- $operator.attr('disabled', false);
+ $operator.attr('readonly', false);
}
// if the chosen function's output is a geometry, enable GIS editor