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 20:28:18 +0400
committerRouslan Placella <rouslan@placella.com>2012-04-11 00:50:34 +0400
commitce30119534941a0686c58c278ce0a4d04e65d402 (patch)
treea4eb96566384f9ab1431ea43f86ef6aebab02020 /js/tbl_relation.js
parentc985fec28279be3ee37a59ba621e9fdb9523b40e (diff)
Prefixed a jQuery variable with a dollar
Diffstat (limited to 'js/tbl_relation.js')
-rw-r--r--js/tbl_relation.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tbl_relation.js b/js/tbl_relation.js
index b11380787d..c7df7ffda3 100644
--- a/js/tbl_relation.js
+++ b/js/tbl_relation.js
@@ -3,15 +3,15 @@
* for tbl_relation.php
*
*/
-function show_hide_clauses(thisDropdown)
+function show_hide_clauses($thisDropdown)
{
// here, one span contains the label and the clause dropdown
// and we have one span for ON DELETE and one for ON UPDATE
//
- if (thisDropdown.val() != '') {
- thisDropdown.parent().next('span').show().next('span').show();
+ if ($thisDropdown.val() != '') {
+ $thisDropdown.parent().next('span').show().next('span').show();
} else {
- thisDropdown.parent().next('span').hide().next('span').hide();
+ $thisDropdown.parent().next('span').hide().next('span').hide();
}
}