From bda3e7d2396f2995e9505de06660b8806214fc11 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 5 Jul 2014 12:43:05 +0200 Subject: - Fix Delete button state after deleting identity/response (#1489972) --- CHANGELOG | 1 + program/js/app.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index c3f14e112..1b469c374 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -19,6 +19,7 @@ CHANGELOG Roundcube Webmail - Fix so address format errors are ignored when saving a draft (#1489954) - Fix incorrect label translation in return receipt (#1489963) - Fix security issue in delete-response action - allow only ajax request +- Fix Delete button state after deleting identity/response (#1489972) RELEASE 1.0.1 ------------- diff --git a/program/js/app.js b/program/js/app.js index 6ca84c315..25f7b1eee 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -5654,6 +5654,8 @@ function rcube_webmail() frame.location.href = this.env.blankpage; } } + + this.enable_command('delete', false); }; this.remove_identity = function(id) @@ -5667,6 +5669,8 @@ function rcube_webmail() frame.location.href = this.env.blankpage; } } + + this.enable_command('delete', false); }; -- cgit v1.2.3