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:
authorMichal Čihař <mcihar@suse.cz>2013-04-15 17:12:49 +0400
committerMichal Čihař <mcihar@suse.cz>2013-04-15 17:13:14 +0400
commita1b6f206b2cfe78e3819ef1bf1da0c78f847a2ca (patch)
treeedd5812cb8dd2abf75a7548e01f548c6ac8693ed /js/server_status_variables.js
parentb9aa5280b1c1dff488a517263057a33c3c4192d8 (diff)
Various spacing and identation fixes
Diffstat (limited to 'js/server_status_variables.js')
-rw-r--r--js/server_status_variables.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/js/server_status_variables.js b/js/server_status_variables.js
index 48c08d220f..40b1b600ec 100644
--- a/js/server_status_variables.js
+++ b/js/server_status_variables.js
@@ -8,14 +8,14 @@
/**
* Unbind all event handlers before tearing down a page
*/
-AJAX.registerTeardown('server_status_variables.js', function() {
+AJAX.registerTeardown('server_status_variables.js', function () {
$('#filterAlert').unbind('change');
$('#filterText').unbind('keyup');
$('#filterCategory').unbind('change');
$('#dontFormat').unbind('change');
});
-AJAX.registerOnload('server_status_variables.js', function() {
+AJAX.registerOnload('server_status_variables.js', function () {
/*** Table sort tooltip ***/
PMA_tooltip(
$('table.sortable>thead>tr:first').find('th'),
@@ -32,17 +32,17 @@ AJAX.registerOnload('server_status_variables.js', function() {
var text = ''; // Holds filter text
/* 3 Filtering functions */
- $('#filterAlert').change(function() {
+ $('#filterAlert').change(function () {
alertFilter = this.checked;
filterVariables();
});
- $('#filterCategory').change(function() {
+ $('#filterCategory').change(function () {
categoryFilter = $(this).val();
filterVariables();
});
- $('#dontFormat').change(function() {
+ $('#dontFormat').change(function () {
// Hiding the table while changing values speeds up the process a lot
$('#serverstatusvariables').hide();
$('#serverstatusvariables td.value span.original').toggle(this.checked);
@@ -50,7 +50,7 @@ AJAX.registerOnload('server_status_variables.js', function() {
$('#serverstatusvariables').show();
}).trigger('change');
- $('#filterText').keyup(function(e) {
+ $('#filterText').keyup(function (e) {
var word = $(this).val().replace(/_/g, ' ');
if (word.length === 0) {
textFilter = null;
@@ -71,7 +71,7 @@ AJAX.registerOnload('server_status_variables.js', function() {
}
if (section.length > 1) {
- $('#linkSuggestions span').each(function() {
+ $('#linkSuggestions span').each(function () {
if ($(this).attr('class').indexOf('status_' + section) != -1) {
useful_links++;
$(this).css('display', '');
@@ -88,7 +88,7 @@ AJAX.registerOnload('server_status_variables.js', function() {
}
odd_row = false;
- $('#serverstatusvariables th.name').each(function() {
+ $('#serverstatusvariables th.name').each(function () {
if ((textFilter === null || textFilter.exec($(this).text()))
&& (! alertFilter || $(this).next().find('span.attention').length>0)
&& (categoryFilter.length === 0 || $(this).parent().hasClass('s_' + categoryFilter))