freeipa/install/ui/develop.js
Adam Young 6948c0813d code review fixes
this version includes using spec for detail_facets
2011-03-31 17:29:33 -04:00

14 lines
402 B
JavaScript

/*jsl:import ipa.js */
if (window.location.protocol == 'file:') {
IPA.json_url = "test/data";
IPA.use_static_files = true;
IPA.details_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';
}
};
}