summaryrefslogtreecommitdiffstats
path: root/install/ui/certificate.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/certificate.js')
-rwxr-xr-xinstall/ui/certificate.js18
1 files changed, 16 insertions, 2 deletions
diff --git a/install/ui/certificate.js b/install/ui/certificate.js
index c9d243ca..372edcda 100755
--- a/install/ui/certificate.js
+++ b/install/ui/certificate.js
@@ -712,9 +712,8 @@ IPA.cert.status_widget = function(spec) {
});
};
- that.load = function(result) {
+ that.update = function() {
- that.result = result;
that.pkey = that.get_entity_pkey(that.result);
var entity_certificate = that.get_entity_certificate(that.result);
@@ -922,3 +921,18 @@ IPA.cert.status_widget = function(spec) {
return that;
};
+
+IPA.cert.status_field = function(spec) {
+
+ spec = spec || {};
+
+ var that = IPA.field(spec);
+
+ that.load = function(result) {
+
+ that.widget.result = result;
+ that.reset();
+ };
+
+ return that;
+};