Cipher alert removed

This commit is contained in:
Simon Vieille 2016-09-24 16:10:32 +02:00
parent 96f199adaa
commit f25e427dcc
2 changed files with 0 additions and 12 deletions

View File

@ -11,10 +11,6 @@
{{ form_widget(form.title) }}
</div>
<div class="panel-body">
<p class="text-primary hide" id="cipher-alert">
<span class="glyphicon glyphicon-info-sign"></span>
{{ 'form.cipher.alert'|trans }}
</p>
<div class="btn-toolbar">
<div class="btn-group" id="options">
<div class="btn-group">

View File

@ -99,14 +99,6 @@ var myEvents = function() {
}
var mainEditorEvents = function() {
$('.cipher-input').change(function() {
if ($('.cipher-input:checked').val() === 'yes') {
$('#cipher-alert').removeClass('hide');
} else {
$('#cipher-alert').addClass('hide');
}
});
$('#main-form').submit(function(e) {
if ($('.cipher-input:checked').val() === 'yes' || typeof cipherGistClone !== 'undefined') {
var key = getKey();