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:
authorRouslan Placella <rouslan@placella.com>2012-04-10 19:46:51 +0400
committerRouslan Placella <rouslan@placella.com>2012-04-11 00:50:34 +0400
commit9c167049683d3a54f21e353dc87f3f22b912d00d (patch)
tree659f71eb0e43cd8fe399b23d7accf4b2073418f3 /js/tbl_select.js
parenta753ac9b8031593f4d8390e004d9169a31ee0c6f (diff)
Speed-up selectors
Diffstat (limited to 'js/tbl_select.js')
-rw-r--r--js/tbl_select.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tbl_select.js b/js/tbl_select.js
index 87dee553a0..c97c1689d1 100644
--- a/js/tbl_select.js
+++ b/js/tbl_select.js
@@ -86,9 +86,9 @@ $(document).ready(function() {
// Following section is related to the 'function based search' for geometry data types.
// Initialy hide all the open_gis_editor spans
- $('.open_search_gis_editor').hide();
+ $('span.open_search_gis_editor').hide();
- $('.geom_func').bind('change', function() {
+ $('select.geom_func').bind('change', function() {
var $geomFuncSelector = $(this);
var binaryFunctions = [
@@ -136,7 +136,7 @@ $(document).ready(function() {
}
// if the chosen function's output is a geometry, enable GIS editor
- var $editorSpan = $geomFuncSelector.parents('tr').find('.open_search_gis_editor');
+ var $editorSpan = $geomFuncSelector.parents('tr').find('span.open_search_gis_editor');
if ($.inArray($geomFuncSelector.val(), outputGeomFunctions) >= 0){
$editorSpan.show();
} else {
@@ -145,7 +145,7 @@ $(document).ready(function() {
});
- $('.open_search_gis_editor').live('click', function(event) {
+ $('span.open_search_gis_editor').live('click', function(event) {
event.preventDefault();
var $span = $(this);