summaryrefslogtreecommitdiffstats
path: root/install/ui/develop.js
blob: 9f0c8dd5ac4f60fd1fb43f3f7245702fb0b275fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*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';
        }
    };
}