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-11-09 02:13:20 +0400
committerRouslan Placella <rouslan@placella.com>2012-11-09 17:23:51 +0400
commit0120d79d9e7430eff5487ed162ea5162ff6d4c97 (patch)
tree8580d043684487a2d26f10c6d8d1f975f0198995 /js/server_variables.js
parentfc9becacb6915ca4a69314efeabc5977d9a53998 (diff)
Shortened class names
Diffstat (limited to 'js/server_variables.js')
-rw-r--r--js/server_variables.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/server_variables.js b/js/server_variables.js
index f6fcc989bc..829d8a6b3f 100644
--- a/js/server_variables.js
+++ b/js/server_variables.js
@@ -4,7 +4,7 @@
* Unbind all event handlers before tearing down a page
*/
AJAX.registerTeardown('server_variables.js', function() {
- $('#serverVariables .variable_row').unbind('hover');
+ $('#serverVariables .var-row').unbind('hover');
$('#filterText').unbind('keyup');
});
@@ -17,9 +17,9 @@ AJAX.registerOnload('server_variables.js', function() {
$cancelLink = $('a.cancelLink');
/* Variable editing */
- $('#serverVariables .variable_row').hover(
+ $('#serverVariables .var-row').hover(
function() {
- var $elm = $(this).find('.variable_value');
+ var $elm = $(this).find('.var-value');
// Only add edit element if the element is not being edited
if ($elm.hasClass('editable') && ! $elm.hasClass('edit')) {
$elm.prepend($editLink.clone().show());
@@ -51,7 +51,7 @@ AJAX.registerOnload('server_variables.js', function() {
/* Filters the rows by the user given regexp */
function filterVariables() {
var mark_next = false, firstCell, odd_row = false;
- $('#serverVariables .variable_row').not('.variable_header').each(function() {
+ $('#serverVariables .var-row').not('.var-header').each(function() {
firstCell = $(this).children(':first');
if (mark_next || textFilter == null || textFilter.exec(firstCell.text())) {
// If current global value is different from session value
@@ -77,7 +77,7 @@ AJAX.registerOnload('server_variables.js', function() {
/* Called by inline js. Allows the user to edit a server variable */
function editVariable(link)
{
- var varName = $(link).closest('.variable_row').find('.variable_name').text().replace(/ /g,'_');
+ var varName = $(link).closest('.var-row').find('.var-name').text().replace(/ /g,'_');
var $mySaveLink = $saveLink.clone().show();
var $myCancelLink = $cancelLink.clone().show();
var $cell = $(link).parent();