diff options
Diffstat (limited to 'install/ui/develop.js')
-rw-r--r-- | install/ui/develop.js | 7 |
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'; + } + }; } |