From bda3e7d2396f2995e9505de06660b8806214fc11 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sat, 05 Jul 2014 06:49:07 -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 c3f14e1..1b469c3 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -19,6 +19,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 6ca84c3..25f7b1e 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -5654,6 +5654,8 @@
frame.location.href = this.env.blankpage;
}
}
+
+ this.enable_command('delete', false);
};
this.remove_identity = function(id)
@@ -5667,6 +5669,8 @@
frame.location.href = this.env.blankpage;
}
}
+
+ this.enable_command('delete', false);
};
--
Gitblit v1.9.1