From a8848b16c47390d92a272da87724623457a548bf Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 17 Nov 2015 08:56:44 +0100 Subject: [PATCH] Tweak the code to not violate ECMASCRIPT3 syntax --- plugins/enigma/enigma.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/enigma/enigma.js b/plugins/enigma/enigma.js index aca4ec077..0f6d19483 100644 --- a/plugins/enigma/enigma.js +++ b/plugins/enigma/enigma.js @@ -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');