-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update config template values; rename solr core * use videojs for streaming media * enable fluid mode for videojs * center the play button for videos * fix layout issue with embed popup header * modify videojs settings to fix issue with videos autoplaying in safari * add videoReady function for videojs * fix ACHYDRA-905 /api/v1/search endpoint searching not working * add styling for video player branding element * add link to logo * add pointer cursor to AC branding link * ACHYDRA-908 require current student radio button selection * ACHYDRA-909 remove unnecessary int to date conversion * ACHYDRA-908 change academic advisor to thesis advisor * revert field name * make modal code use title variable * fix ACHYDRA-905 /api/v1/search endpoint searching not working * ACHYDRA-908 require current student radio button selection * ACHYDRA-909 remove unnecessary int to date conversion * ACHYDRA-908 change academic advisor to thesis advisor * revert field name * rebases onto ACHYDRA-907; removes mediaelement.js --------- Co-authored-by: Ed Madrid <edmadrid@gmail.com>
- Loading branch information
1 parent
76adfea
commit e03acc5
Showing
11 changed files
with
59 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
$(document).ready(function () { | ||
// onChange only fires when radio button is selected | ||
$("form#upload input#deposit_current_student_true") | ||
.change(function () { | ||
document.getElementsByClassName("student-section")[0].style.display = | ||
"block"; | ||
}) | ||
.change(); | ||
|
||
$('form#upload input#deposit_current_student').change(function () { | ||
document.getElementsByClassName('student-section')[0].style.display = "none"; | ||
if (document.getElementById('deposit_current_student').checked == true) { | ||
document.getElementsByClassName('student-section')[0].style.display = "block"; | ||
} | ||
}).change(); | ||
$("form#upload input#deposit_current_student_false") | ||
.change(function () { | ||
document.getElementsByClassName("student-section")[0].style.display = | ||
"none"; | ||
}) | ||
.change(); | ||
|
||
//check if button is already selected on page render, ie after validation failure | ||
if ($("form#upload input#deposit_current_student_true").is(":checked")) { | ||
document.getElementsByClassName("student-section")[0].style.display = | ||
"block"; | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters