diff options
Diffstat (limited to 'install/static/group.js')
-rw-r--r-- | install/static/group.js | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/install/static/group.js b/install/static/group.js deleted file mode 100644 index c7db10f47..000000000 --- a/install/static/group.js +++ /dev/null @@ -1,41 +0,0 @@ -function setupGroup(facet){ - if (facet == "details"){ - setupGroupDetails(); - }else{ - setupGroupSearch(); - } -} - -function setupGroupDetails(){ - - $('#search').css("visibility","hidden"); - $('#content').css("visibility","visible"); - $('#content').load("group-details.inc"); - - sampleData = "sampledata/groupshow.json"; -} - -function setupGroupSearch(){ - - var columns = [ - {title:"Group Name", column:"cn",render: function(current,cell){ - renderDetailColumn(current,cell,current[this.column],"group"); - }}, - {title:"GID", column:"gidnumber",render: renderSimpleColumn}, - {title:"Description", column:"description",render: renderSimpleColumn} - ]; - - var groupSearchForm = new SearchForm("group", "find", columns); - - $("#query").unbind(); - $("#query").click(function(){ - sampleData = "sampledata/grouplist.json"; - executeSearch(groupSearchForm); - }); - $("#new").unbind(); - $("#new").click( function() { - alert("New Group..."); - }); - - -} |