Aleksander Machniak
2016-01-05 f04b56f306ef101ff401fb45805b9ea28d28dfab
plugins/enigma/enigma.js
@@ -48,6 +48,11 @@
            });
        }
        $.each(['encrypt', 'sign'], function() {
            if (rcmail.env['enigma_force_' + this])
                $('[name="_enigma_' + this + '"]').prop('checked', true);
        });
        if (rcmail.env.enigma_password_request) {
            rcmail.enigma_password_request(rcmail.env.enigma_password_request);
        }
@@ -106,7 +111,7 @@
            // send request to server
            rcmail.http_post('plugin.enigmakeys', post, lock);
        }).catch(function(error) {
        }, function(error) {
            // failure
            rcmail.set_busy(false, null, lock);
            rcmail.display_message(rcmail.get_label('enigma.keygenerateerror'), 'error');