Tweak the code to not violate ECMASCRIPT3 syntax

This commit is contained in:
Aleksander Machniak
2015-11-17 08:56:44 +01:00
parent 458a6b26e8
commit a8848b16c4

View File

@@ -106,7 +106,7 @@ rcube_webmail.prototype.enigma_key_create_save = function()
// 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');