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:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-04-30 15:32:20 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-04-30 15:32:20 +0300
commit613f8d7548c1215f6c0f1f70676f2728f8ce823e (patch)
treea0fef364158693eb40eebbd0b69dc800ef66d5ac /js/functions.js
parent98706e1f293e9fb8cce834bf938d8ec934d766d3 (diff)
Remove dead code
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/functions.js')
-rw-r--r--js/functions.js37
1 files changed, 0 insertions, 37 deletions
diff --git a/js/functions.js b/js/functions.js
index 881841b5d7..01485b3401 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -1728,43 +1728,6 @@ AJAX.registerOnload('functions.js', function () {
$(document).on('change', '#parameterized', updateQueryParameters);
- $("#export_type").change(function () {
- if ($("#export_type").val() == 'svg') {
- $("#show_grid_opt").prop("disabled", true);
- $("#orientation_opt").prop("disabled", true);
- $("#with_doc").prop("disabled", true);
- $("#show_table_dim_opt").removeProp("disabled");
- $("#all_tables_same_width").removeProp("disabled");
- $("#paper_opt").removeProp("disabled");
- $("#show_color_opt").removeProp("disabled");
- //$(this).css("background-color","yellow");
- } else if ($("#export_type").val() == 'dia') {
- $("#show_grid_opt").prop("disabled", true);
- $("#with_doc").prop("disabled", true);
- $("#show_table_dim_opt").prop("disabled", true);
- $("#all_tables_same_width").prop("disabled", true);
- $("#paper_opt").removeProp("disabled");
- $("#show_color_opt").removeProp("disabled");
- $("#orientation_opt").removeProp("disabled");
- } else if ($("#export_type").val() == 'eps') {
- $("#show_grid_opt").prop("disabled", true);
- $("#orientation_opt").removeProp("disabled");
- $("#with_doc").prop("disabled", true);
- $("#show_table_dim_opt").prop("disabled", true);
- $("#all_tables_same_width").prop("disabled", true);
- $("#paper_opt").prop("disabled", true);
- $("#show_color_opt").prop("disabled", true);
- } else if ($("#export_type").val() == 'pdf') {
- $("#show_grid_opt").removeProp("disabled");
- $("#orientation_opt").removeProp("disabled");
- $("#with_doc").removeProp("disabled");
- $("#show_table_dim_opt").removeProp("disabled");
- $("#all_tables_same_width").removeProp("disabled");
- $("#paper_opt").removeProp("disabled");
- $("#show_color_opt").removeProp("disabled");
- }
- });
-
if ($('#input_username')) {
if ($('#input_username').val() === '') {
$('#input_username').focus();