From 911d4e69f484c4f9426950ddb7f25193c8c39a15 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sat, 05 Jul 2014 06:43:05 -0400 Subject: [PATCH] - Fix Delete button state after deleting identity/response (#1489972) --- CHANGELOG | 1 + program/js/app.js | 4 ++++ 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index b420833..82c80fc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -54,6 +54,7 @@ - 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 b2d936d..e5d2dce 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -5742,6 +5742,8 @@ frame.location.href = this.env.blankpage; } } + + this.enable_command('delete', false); }; this.remove_identity = function(id) @@ -5755,6 +5757,8 @@ frame.location.href = this.env.blankpage; } } + + this.enable_command('delete', false); }; -- Gitblit v1.9.1