Implements more embed codes for events

- refactor video_type  collection to event model enumeration
#26
This commit is contained in:
Christian Bruckmayer 2014-03-15 21:48:47 +01:00
parent 2421eaf4ea
commit 03ba8d50f4
4 changed files with 10 additions and 6 deletions

View file

@ -1,7 +1,7 @@
$(function() {
$("#event_video_type").change(function () {
$(".media-type").hide();
$('#' + $(this).val() + '-help').show();
$('#' + $(this).val().toLowerCase() + '-help').show();
});
$('.dropdown-toggle').dropdown();