Commit 74e8bae7620592bdbdee77f18cb3ae8ec1c922c4
Committed by
gtaaas
1 parent
f6e5d7a4
Exists in
devel
Remove CC do Rápido VLibras
Showing
2 changed files
with
1 additions
and
8 deletions
Show diff stats
app/assets/javascripts/site/videos.js
| @@ -36,15 +36,11 @@ $(function(){ | @@ -36,15 +36,11 @@ $(function(){ | ||
| 36 | 36 | ||
| 37 | $("#url").hide(); | 37 | $("#url").hide(); |
| 38 | $("#legend").hide(); | 38 | $("#legend").hide(); |
| 39 | - $("#link_cc").click(function(){ | ||
| 40 | - $("#url").show('slow'); | ||
| 41 | - $("#legend").hide('slow'); | ||
| 42 | - }); | ||
| 43 | 39 | ||
| 44 | $("#link_recognize").click(function(){ | 40 | $("#link_recognize").click(function(){ |
| 45 | $("#url").show('slow'); | 41 | $("#url").show('slow'); |
| 46 | $("#legend").hide('slow'); | 42 | $("#legend").hide('slow'); |
| 47 | - }); | 43 | + }).click(); |
| 48 | 44 | ||
| 49 | $("#link_normal").click(function(){ | 45 | $("#link_normal").click(function(){ |
| 50 | $("#url").show('slow'); | 46 | $("#url").show('slow'); |
app/views/videos/_form.html.haml
| @@ -13,9 +13,6 @@ | @@ -13,9 +13,6 @@ | ||
| 13 | .field | 13 | .field |
| 14 | = label_tag :choice, t('videos.video_type'), :class => 'bold' | 14 | = label_tag :choice, t('videos.video_type'), :class => 'bold' |
| 15 | %label.radio | 15 | %label.radio |
| 16 | - = f.radio_button :closed_caption, '1', :id => "link_cc" | ||
| 17 | - Closed Caption (legenda embutida) | ||
| 18 | - %label.radio | ||
| 19 | = f.radio_button :closed_caption, '3', :id => "link_recognize" | 16 | = f.radio_button :closed_caption, '3', :id => "link_recognize" |
| 20 | Voz | 17 | Voz |
| 21 | %label.radio | 18 | %label.radio |