summaryrefslogtreecommitdiffstats
path: root/install/ui/develop.js
blob: 5095905d7d5b5d3a420e1e0b007a69fc633ade93 (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.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';
        }
    };
}