summaryrefslogtreecommitdiffstats
path: root/install/ui/develop.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-03-18 16:43:54 -0400
committerAdam Young <ayoung@redhat.com>2011-03-31 17:29:33 -0400
commit4270e26adb56b6d1b7a9e80433581b82519d9eec (patch)
treedcb0982b741d92c0be37e262e70b7cd0969e06d0 /install/ui/develop.js
parentdb91321fd2c94680361ae8196ba9227615f92c39 (diff)
downloadfreeipa-4270e26adb56b6d1b7a9e80433581b82519d9eec.tar.gz
freeipa-4270e26adb56b6d1b7a9e80433581b82519d9eec.tar.xz
freeipa-4270e26adb56b6d1b7a9e80433581b82519d9eec.zip
define entities using builder and more declarative syntax
merged hbac and sudo in to single files associaton facet and table supports linking
Diffstat (limited to 'install/ui/develop.js')
-rw-r--r--install/ui/develop.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/install/ui/develop.js b/install/ui/develop.js
index 462253500..5095905d7 100644
--- a/install/ui/develop.js
+++ b/install/ui/develop.js
@@ -3,4 +3,11 @@
if (window.location.protocol == 'file:') {
IPA.json_url = "test/data";
IPA.use_static_files = true;
+
+ IPA.refresh_devel_hook = function(entity_name,command,pkey){
+ if ((entity_name === 'host')||(entity_name === 'permission')){
+ command.name = entity_name+'_show_'+pkey;
+ command.method = entity_name+'_show';
+ }
+ };
}