Skip to content

Commit 35265b1

Browse files
authored
Merge pull request #1102 from ascholerChemeketa/course-create-billing
Course creation: fix double handler for invoice me checkbox
2 parents 9d080fa + 59a8f43 commit 35265b1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

components/rsptx/templates/admin/instructor/create_course.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -312,16 +312,6 @@ <h4 class="book-section">{{ section }}</h4>
312312
return true;
313313
});
314314

315-
document.getElementById('invoice-me').addEventListener('change', function () {
316-
if (this.checked) {
317-
let res = confirm("Checking this box means you want us to email you an Invoice (Thank you!!). If you want to keep using Runestone for free just click cancel");
318-
if (res === true) {
319-
this.checked = false;
320-
}
321-
}
322-
});
323-
324-
325315
// Book filter logic
326316
function setupBookFilter() {
327317
var filterInput = document.getElementById('bookFilter');

0 commit comments

Comments
 (0)