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/export.js
parentb9aa5280b1c1dff488a517263057a33c3c4192d8 (diff)
Various spacing and identation fixes
Diffstat (limited to 'js/export.js')
-rw-r--r--js/export.js30
1 files changed, 15 insertions, 15 deletions
diff --git a/js/export.js b/js/export.js
index 12689e11b7..81b30ff95e 100644
--- a/js/export.js
+++ b/js/export.js
@@ -7,7 +7,7 @@
/**
* Unbind all event handlers before tearing down a page
*/
-AJAX.registerTeardown('export.js', function() {
+AJAX.registerTeardown('export.js', function () {
$("#plugins").unbind('change');
$("input[type='radio'][name='sql_structure_or_data']").unbind('change');
$("input[type='radio'][name='latex_structure_or_data']").unbind('change');
@@ -27,16 +27,16 @@ AJAX.registerOnload('export.js', function () {
* Toggles the hiding and showing of each plugin's options
* according to the currently selected plugin from the dropdown list
*/
- $("#plugins").change(function() {
+ $("#plugins").change(function () {
$("#format_specific_opts div.format_specific_options").hide();
var selected_plugin_name = $("#plugins option:selected").val();
$("#" + selected_plugin_name + "_options").show();
- });
+ });
/**
* Toggles the enabling and disabling of the SQL plugin's comment options that apply only when exporting structure
*/
- $("input[type='radio'][name='sql_structure_or_data']").change(function() {
+ $("input[type='radio'][name='sql_structure_or_data']").change(function () {
var comments_are_present = $("#checkbox_sql_include_comments").prop("checked");
var show = $("input[type='radio'][name='sql_structure_or_data']:checked").val();
if (show == 'data') {
@@ -54,7 +54,7 @@ AJAX.registerOnload('export.js', function () {
$("#checkbox_sql_relation").removeProp('disabled').parent().fadeTo('fast', 1);
$("#checkbox_sql_mime").removeProp('disabled').parent().fadeTo('fast', 1);
}
- });
+ });
});
@@ -82,19 +82,19 @@ function toggle_structure_data_opts(pluginName)
}
AJAX.registerOnload('export.js', function () {
- $("input[type='radio'][name='latex_structure_or_data']").change(function() {
+ $("input[type='radio'][name='latex_structure_or_data']").change(function () {
toggle_structure_data_opts("latex");
});
- $("input[type='radio'][name='odt_structure_or_data']").change(function() {
+ $("input[type='radio'][name='odt_structure_or_data']").change(function () {
toggle_structure_data_opts("odt");
});
- $("input[type='radio'][name='texytext_structure_or_data']").change(function() {
+ $("input[type='radio'][name='texytext_structure_or_data']").change(function () {
toggle_structure_data_opts("texytext");
});
- $("input[type='radio'][name='htmlword_structure_or_data']").change(function() {
+ $("input[type='radio'][name='htmlword_structure_or_data']").change(function () {
toggle_structure_data_opts("htmlword");
});
- $("input[type='radio'][name='sql_structure_or_data']").change(function() {
+ $("input[type='radio'][name='sql_structure_or_data']").change(function () {
toggle_structure_data_opts("sql");
});
});
@@ -125,7 +125,7 @@ AJAX.registerOnload('export.js', function () {
*/
function toggle_sql_include_comments()
{
- $("#checkbox_sql_include_comments").change(function() {
+ $("#checkbox_sql_include_comments").change(function () {
if (!$("#checkbox_sql_include_comments").prop("checked")) {
$("#ul_include_comments > li").fadeTo('fast', 0.4);
$("#ul_include_comments > li > input").prop('disabled', true);
@@ -147,10 +147,10 @@ AJAX.registerOnload('export.js', function () {
*/
var $create = $("#checkbox_sql_create_table_statements");
var $create_options = $("#ul_create_table_statements input");
- $create.change(function() {
+ $create.change(function () {
$create_options.prop('checked', $(this).prop("checked"));
});
- $create_options.change(function() {
+ $create_options.change(function () {
if ($create_options.is(":checked")) {
$create.prop('checked', true);
}
@@ -159,7 +159,7 @@ AJAX.registerOnload('export.js', function () {
/**
* Disables the view output as text option if the output must be saved as a file
*/
- $("#plugins").change(function() {
+ $("#plugins").change(function () {
var active_plugin = $("#plugins option:selected").val();
var force_file = $("#force_file_" + active_plugin).val();
if (force_file == "true") {
@@ -220,7 +220,7 @@ AJAX.registerOnload('export.js', function () {
/**
* Disables the "Dump some row(s)" sub-options when it is not selected
*/
- $("input[type='radio'][name='allrows']").change(function() {
+ $("input[type='radio'][name='allrows']").change(function () {
if ($("input[type='radio'][name='allrows']").prop("checked")) {
$("label[for='limit_to']").fadeTo('fast', 0.4);
$("label[for='limit_from']").fadeTo('fast', 0.4);