Cipher alert removed
This commit is contained in:
parent
96f199adaa
commit
f25e427dcc
|
@ -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">
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue