diff options
Diffstat (limited to 'install/static/hostgroup.js')
-rw-r--r-- | install/static/hostgroup.js | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/install/static/hostgroup.js b/install/static/hostgroup.js deleted file mode 100644 index b6cb413fa..000000000 --- a/install/static/hostgroup.js +++ /dev/null @@ -1,43 +0,0 @@ -function setupHostgroup(facet){ - if (facet == "details"){ - setupHostgroupDetails(); - }else{ - setupHostgroupSearch(); - } -} - - - - -function setupHostgroupDetails(){ - var detailsForm = new DetailsForm(); -} - - -function setupHostgroupSearch(){ - - - var columns = [ - {title:"Hostgroup",column:"cn",render: function(current,cell){ - renderDetailColumn(current,cell,current[this.column],"hostgroup"); - }}, - {title:"Description", column:"description",render: renderSimpleColumn}]; - - var hostgroupSearchForm = new SearchForm("hostgroup", "find", columns); - - - $("#query").unbind(); - - $("#query").click(function(){ - sampleData = "sampledata/hostgrouplist.json"; - executeSearch(hostgroupSearchForm); - }); - $("#new").unbind(); - $("#new").click( function() { - alert("New Hostgroup..."); - }); - - -} - -
\ No newline at end of file |