summaryrefslogtreecommitdiffstats
path: root/install/static/group.js
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-08-02 14:36:33 -0400
committerRob Crittenden <rcritten@redhat.com>2010-08-02 16:28:07 -0400
commitf9ff041c5cd5ac11af2edb59cb7a707582193df6 (patch)
tree78bdceb1b3b637be34fbb11ff34d8d17fdf88446 /install/static/group.js
parent47d4fcdd8178ec4b8403efa4f80eaa009c32d78b (diff)
downloadfreeipa-webui-details.tar.gz
freeipa-webui-details.tar.xz
freeipa-webui-details.zip
Revert WebUI changeswebui-details
Reverted with: % git diff --binary HEAD..d4adbc8052faf18fb31e7b1865037aa107067d4b > revert.patch % git apply revert.patch % git commit -a
Diffstat (limited to 'install/static/group.js')
-rw-r--r--install/static/group.js41
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...");
- });
-
-
-}