summaryrefslogtreecommitdiffstats
path: root/install/ui/details.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-11-03 16:02:32 -0500
committerPetr Vobornik <pvoborni@redhat.com>2011-11-04 16:51:37 +0100
commit6c3e1a21d79c344dc54c7e8fe789068ccda3a48b (patch)
tree2ead65366b2e2bf40bfa23da986cec737efbd78a /install/ui/details.js
parentf7938a17737baf432f75cd7115150b1311e5eeb5 (diff)
downloadfreeipa-6c3e1a21d79c344dc54c7e8fe789068ccda3a48b.tar.gz
freeipa-6c3e1a21d79c344dc54c7e8fe789068ccda3a48b.tar.xz
freeipa-6c3e1a21d79c344dc54c7e8fe789068ccda3a48b.zip
Fixed blank krbtpolicy and config pages.
The details page compares the old and the new primary keys to determine if the page needs to be reloaded. The Kerberos Ticket Policy and Config pages do not use primary keys, so they are never loaded/updated with data. A parameter has been added to force update on these pages. Ticket #1459
Diffstat (limited to 'install/ui/details.js')
-rw-r--r--install/ui/details.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/install/ui/details.js b/install/ui/details.js
index 15056204f..93bb3e8a4 100644
--- a/install/ui/details.js
+++ b/install/ui/details.js
@@ -528,6 +528,7 @@ IPA.details_facet = function(spec) {
};
that.needs_update = function() {
+ if (that._needs_update !== undefined) return that._needs_update;
var pkey = IPA.nav.get_state(that.entity.name+'-pkey');
return pkey !== that.pkey;
};