Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed dos style endings from clearinghouse repo #153

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions website/html/media/scripts/register.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
/*
Edited by: Gaetano Pressimone
Last Modfied: Sept 20 2012
*/
$(document).ready(function() {
toggle_upload();
get_resources_loading_indicator();
$("#id_gen_upload_choice").change(toggle_upload);
});
function toggle_upload() {
if ($("#id_gen_upload_choice").val() == "1") {
$("#uploadkey").hide();
} else {
$("#uploadkey").show();
}
}
/* Disables submit button on press and shows the loading icon */
function get_resources_loading_indicator() {
$("#middle > form").submit(function () {
$('input:submit').attr("disabled", true);
$("#loading_indicator").css('visibility', 'visible');
});
/*
Edited by: Gaetano Pressimone
Last Modfied: Sept 20 2012
*/
$(document).ready(function() {
toggle_upload();
get_resources_loading_indicator();
$("#id_gen_upload_choice").change(toggle_upload);
});

function toggle_upload() {
if ($("#id_gen_upload_choice").val() == "1") {
$("#uploadkey").hide();
} else {
$("#uploadkey").show();
}
}
/* Disables submit button on press and shows the loading icon */
function get_resources_loading_indicator() {
$("#middle > form").submit(function () {
$('input:submit').attr("disabled", true);
$("#loading_indicator").css('visibility', 'visible');
});
}
Loading