[open-ils-commits] SPAM: r10788 - in
trunk/Open-ILS/web/conify/global: . actor config permission
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Oct 8 01:19:43 EDT 2008
Author: dbs
Date: 2008-10-08 01:19:39 -0400 (Wed, 08 Oct 2008)
New Revision: 10788
Modified:
trunk/Open-ILS/web/conify/global/actor/org_unit.html
trunk/Open-ILS/web/conify/global/actor/org_unit_type.html
trunk/Open-ILS/web/conify/global/admin.html
trunk/Open-ILS/web/conify/global/config/copy_status.html
trunk/Open-ILS/web/conify/global/config/marc_code_maps.html
trunk/Open-ILS/web/conify/global/permission/grp_tree.html
trunk/Open-ILS/web/conify/global/permission/perm_list.html
Log:
Prepare Conify for XMLENT
Modified: trunk/Open-ILS/web/conify/global/actor/org_unit.html
===================================================================
--- trunk/Open-ILS/web/conify/global/actor/org_unit.html 2008-10-07 20:56:36 UTC (rev 10787)
+++ trunk/Open-ILS/web/conify/global/actor/org_unit.html 2008-10-08 05:19:39 UTC (rev 10788)
@@ -14,7 +14,7 @@
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Confiy :: Global :: Actor :: Org Units</title>
+ <title>Conify :: Global :: Actor :: Org Units</title>
<style type="text/css">
@import url("/js/dojo/dojo/resources/dojo.css");
@@ -63,7 +63,7 @@
<div dojoType="dijit.layout.ContentPane" sizeShare="100">
<script type="dojo/method">
-
+<!--
var ou_list_data = { label : 'shortname', identifier : 'id' };
window.dirtyStore = [];
@@ -138,6 +138,7 @@
highlighter.addresses_pane.green = dojox.fx.highlight( { color : '#B4FFB4', node : 'addresses_pane', duration : 500 } );
highlighter.addresses_pane.red = dojox.fx.highlight( { color : '#FF2018', node : 'addresses_pane', duration : 500 } );
+-->
</script>
<div
id="ou_tree"
@@ -150,7 +151,7 @@
>
<script type="dojo/method" event="onClick" args="item,node">
-
+<!--
right_pane_toggler.show();
current_ou = item;
@@ -191,7 +192,7 @@
hoo_load();
addr_load();
-
+-->
</script>
<script type="dojo/method" event="getLabel" args="item,pI">
@@ -286,9 +287,11 @@
required="true"
>
<script type="dojo/method" event="onChange">
+<!--
if (current_ou && this.getValue()) this.store.setValue( current_ou, "parent_ou", this.getValue() );
if ( this.store.getValue( current_ou, '_trueRoot' ) == 'true' ) this.required = false;
else this.required = true;
+-->
</script>
</div>
</td>
@@ -320,7 +323,7 @@
this.disabled = true;
</script>
<script type="dojo/connect" event="onClick">
-
+<!--
var old_name = ou_list_store.getValue( current_ou, 'name' );
if (ou_list_store.getValue( current_ou, '_trueRoot' ) == 'true') {
@@ -392,7 +395,7 @@
}).send();
}
-
+-->
</script>
</button>
@@ -403,7 +406,6 @@
this.disabled = true;
</script>
<script type="dojo/connect" event="onClick">
-
var new_fm_obj = new aou().fromHash({
isnew : 1,
name : 'New Branch',
@@ -413,6 +415,7 @@
ou_type : ou_list_store.getValue( current_ou, 'ou_type' )
});
+<!--
var new_obj;
pCRUD.request({
@@ -440,7 +443,7 @@
highlighter.editor_pane.green.play();
highlighter.ou_tree.green.play();
status_update( 'New child Organizational Unit created for ' + ou_list_store.getValue( current_ou, 'name' ) );
-
+-->
</script>
</button>
@@ -488,7 +491,7 @@
<button jsId="save_hoo_button" dojoType="dijit.form.Button" label="Save">
<script type="dojo/connect" event="onClick">
-
+<!--
var method_name = 'open-ils.permacrud.update.aouhoo';
if (current_ou_hoo.isnew() == 1) method_name = 'open-ils.permacrud.create.aouhoo';
@@ -511,7 +514,7 @@
}
},
}).send();
-
+-->
</script>
</button>
@@ -567,7 +570,7 @@
this.disabled = true;
</script>
<script type="dojo/connect" event="onClick">
-
+<!--
var method_name = 'open-ils.permacrud.update.aoa';
if (current_billing_address.isnew() == 1) method_name = 'open-ils.permacrud.create.aoa';
@@ -595,7 +598,7 @@
}
},
}).send();
-
+-->
</script>
</button>
</div>
@@ -636,7 +639,7 @@
this.disabled = true;
</script>
<script type="dojo/connect" event="onClick">
-
+<!--
var method_name = 'open-ils.permacrud.update.aoa';
if (current_holds_address.isnew() == 1) method_name = 'open-ils.permacrud.create.aoa';
@@ -664,7 +667,7 @@
}
},
}).send();
-
+-->
</script>
</button>
</div>
@@ -704,7 +707,7 @@
this.disabled = true;
</script>
<script type="dojo/connect" event="onClick">
-
+<!--
var method_name = 'open-ils.permacrud.update.aoa';
if (current_mailing_address.isnew() == 1) method_name = 'open-ils.permacrud.create.aoa';
@@ -732,7 +735,7 @@
}
},
}).send();
-
+-->
</script>
</button>
</div>
@@ -772,7 +775,7 @@
this.disabled = true;
</script>
<script type="dojo/connect" event="onClick">
-
+<!--
var method_name = 'open-ils.permacrud.update.aoa';
if (current_ill_address.isnew() == 1) method_name = 'open-ils.permacrud.create.aoa';
@@ -800,7 +803,7 @@
}
},
}).send();
-
+-->
</script>
</button>
</div>
Modified: trunk/Open-ILS/web/conify/global/actor/org_unit_type.html
===================================================================
--- trunk/Open-ILS/web/conify/global/actor/org_unit_type.html 2008-10-07 20:56:36 UTC (rev 10787)
+++ trunk/Open-ILS/web/conify/global/actor/org_unit_type.html 2008-10-08 05:19:39 UTC (rev 10788)
@@ -14,12 +14,12 @@
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Confiy :: Global :: Actor :: Org Unit Types</title>
+ <title>Conify :: Global :: Actor :: Org Unit Types</title>
<style type="text/css">
- @import url("/js/dojo/dojo/resources/dojo.css");
- @import url("/js/dojo/dijit/themes/tundra/tundra.css");
- @import url("/js/dojo/dojox/widget/Toaster/Toaster.css");
+ @import url('/js/dojo/dojo/resources/dojo.css');
+ @import url('/js/dojo/dijit/themes/tundra/tundra.css');
+ @import url('/js/dojo/dojox/widget/Toaster/Toaster.css');
</style>
<style>
@@ -49,7 +49,7 @@
<!-- Dojo goodness -->
<script type="text/javascript" src="../admin.js"></script>
- <script type="text/javascript" src="/js/dojo/dojo/dojo.js"</script>
+ <script type="text/javascript" src="/js/dojo/dojo/dojo.js"></script>
<script type="text/javascript" src="/js/dojo/dijit/dijit.js"></script>
<script type="text/javascript" src="org_unit_type.js"></script>
@@ -62,6 +62,7 @@
<div dojoType="dijit.layout.ContentPane" sizeShare="100">
<script type="dojo/method">
+<!--
window.dirtyStore = [];
pCRUD.request({
@@ -102,7 +103,7 @@
});
}
}).send();
-
+-->
</script>
<div
id="type_tree"
@@ -115,7 +116,7 @@
>
<script type="dojo/method" event="onClick" args="item,node">
-
+<!--
right_pane_toggler.show();
current_type = item;
current_fm_type = new aout().fromStoreItem(item);
@@ -151,7 +152,7 @@
editor_pane_can_have_vols.setChecked( this.store.getValue( current_type, 'can_have_vols' ) == 't' ? true : false );
editor_pane_can_have_users.setChecked( this.store.getValue( current_type, 'can_have_users' ) == 't' ? true : false );
-
+-->
</script>
<script type="dojo/method" event="getLabel" args="item,pI">
@@ -219,6 +220,7 @@
required="true"
>
<script type="dojo/method" event="onChange" args=>
+<!--
if (current_type && this.getValue()) {
if ( this.store.getValue( current_type, 'parent' ) == this.getValue() ) return;
@@ -231,6 +233,7 @@
scope : ou_type_store
});
}
+-->
</script>
</div>
</td>
@@ -274,6 +277,7 @@
this.disabled = true;
</script>
<script type="dojo/connect" event="onClick">
+<!--
if (ou_type_store.getValue( current_type, '_trueRoot' ) == 'true') {
highlighter.editor_pane.red.play();
@@ -349,7 +353,7 @@
}).send();
}
-
+-->
</script>
</button>
@@ -360,7 +364,6 @@
this.disabled = true;
</script>
<script type="dojo/connect" event="onClick">
-
var new_fm_obj = new aout().fromHash({
isnew : 1,
name : 'New Type',
@@ -370,7 +373,7 @@
opac_label : ou_type_store.getValue( current_type, 'opac_label' ) + ' child' + virgin_out_id--,
parent : ou_type_store.getValue( current_type, 'id' )
});
-
+<!--
var err = false;
pCRUD.request({
method : 'open-ils.permacrud.create.aout',
@@ -401,7 +404,7 @@
highlighter.type_tree.green.play();
status_update( 'New child Organization Type created for ' + ou_type_store.getValue( current_type, 'name' ) );
}
-
+-->
</script>
</button>
Modified: trunk/Open-ILS/web/conify/global/admin.html
===================================================================
--- trunk/Open-ILS/web/conify/global/admin.html 2008-10-07 20:56:36 UTC (rev 10787)
+++ trunk/Open-ILS/web/conify/global/admin.html 2008-10-08 05:19:39 UTC (rev 10788)
@@ -17,9 +17,9 @@
<title>Conify :: Global :: Admin</title>
<style type="text/css">
- @import url("/js/dojo/dojo/resources/dojo.css");
- @import url("/js/dojo/dijit/themes/tundra/tundra.css");
- @import url("/js/dojo/dojox/widget/Toaster/Toaster.css");
+ @import url('/js/dojo/dojo/resources/dojo.css');
+ @import url('/js/dojo/dijit/themes/tundra/tundra.css');
+ @import url('/js/dojo/dojox/widget/Toaster/Toaster.css');
</style>
<style>
@@ -58,12 +58,12 @@
</div>
<div id="left_pane" jsId="left_pane" dojoType="dijit.layout.ContentPane" layoutAlign="left" orientation="vertical" style="height: 90%; margin: 4px;" label="Controls">
<ul style="margin-left: -10px;">
- <li><a href="" onclick="dojo.byId('action_iframe').src = 'actor/org_unit_type.html'; return false;">Organization Types</a></li>
- <li><a href="" onclick="dojo.byId('action_iframe').src = 'actor/org_unit.html'; return false;">Organizational Units</a></li>
- <li><a href="" onclick="dojo.byId('action_iframe').src = 'permission/grp_tree.html'; return false;">Permission Groups</a></li>
- <li><a href="" onclick="dojo.byId('action_iframe').src = 'permission/perm_list.html'; return false;">Permissions</a></li>
- <li><a href="" onclick="dojo.byId('action_iframe').src = 'config/copy_status.html'; return false;">Copy Statuses</a></li>
- <li><a href="" onclick="dojo.byId('action_iframe').src = 'config/marc_code_maps.html'; return false;">MARC Codes</a></li>
+ <li><a href="javascript:void(0);" onclick="dojo.byId('action_iframe').src = 'actor/org_unit_type.html'; return false;">Organization Types</a></li>
+ <li><a href="javascript:void(0);" onclick="dojo.byId('action_iframe').src = 'actor/org_unit.html'; return false;">Organizational Units</a></li>
+ <li><a href="javascript:void(0);" onclick="dojo.byId('action_iframe').src = 'permission/grp_tree.html'; return false;">Permission Groups</a></li>
+ <li><a href="javascript:void(0);" onclick="dojo.byId('action_iframe').src = 'permission/perm_list.html'; return false;">Permissions</a></li>
+ <li><a href="javascript:void(0);" onclick="dojo.byId('action_iframe').src = 'config/copy_status.html'; return false;">Copy Statuses</a></li>
+ <li><a href="javascript:void(0);" onclick="dojo.byId('action_iframe').src = 'config/marc_code_maps.html'; return false;">MARC Codes</a></li>
</ul>
</div>
<div id="content_pane" jsId="content_pane" dojoType="dijit.layout.ContentPane" layoutAlign="client" style="margin: 2px; border-top: 2px solid grey; border-bottom: 2px solid grey; border-left: 2px solid grey;">
Modified: trunk/Open-ILS/web/conify/global/config/copy_status.html
===================================================================
--- trunk/Open-ILS/web/conify/global/config/copy_status.html 2008-10-07 20:56:36 UTC (rev 10787)
+++ trunk/Open-ILS/web/conify/global/config/copy_status.html 2008-10-08 05:19:39 UTC (rev 10788)
@@ -14,13 +14,13 @@
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Confiy :: Global :: Config :: Copy Status</title>
+ <title>Conify :: Global :: Config :: Copy Status</title>
<style type="text/css">
- @import url("/js/dojo/dojox/grid/_grid/tundraGrid.css");
- @import url("/js/dojo/dojo/resources/dojo.css");
- @import url("/js/dojo/dijit/themes/tundra/tundra.css");
- @import url("/js/dojo/dojox/widget/Toaster/Toaster.css");
+ @import url('/js/dojo/dojox/grid/_grid/tundraGrid.css');
+ @import url('/js/dojo/dojo/resources/dojo.css');
+ @import url('/js/dojo/dijit/themes/tundra/tundra.css');
+ @import url('/js/dojo/dojox/widget/Toaster/Toaster.css');
</style>
<style>
@@ -63,6 +63,7 @@
<div dojoType="dijit.layout.LayoutContainer" id="grid_container" jsId="grid_container" orientation="vertical">
<script type="dojo/method">
+<!--
window.highlighter= {};
window.highlighter.green = dojox.fx.highlight( { color : '#B4FFB4', node : 'grid_container', duration : 500 } );
window.highlighter.red = dojox.fx.highlight( { color : '#FF2018', node : 'grid_container', duration : 500 } );
@@ -118,7 +119,7 @@
});
}
}).send();
-
+-->
</script>
<div dojoType="dijit.layout.LayoutContainer" orientation="horizontal" style="margin-top: 5px;" layoutAlign="top">
@@ -126,7 +127,7 @@
<div dojoType="dijit.form.TextBox" id="new_status_code" jsId="new_status_name" label="New Status Name"></div>
<button dojoType="dijit.form.Button" id="save_new_status_code" jsId="save_new_status_name" label="Add">
<script type="dojo/connect" event="onClick">
-
+<!--
var new_name = new_status_name.getValue();
if (!new_name) return;
@@ -160,15 +161,16 @@
}
}
}).send();
-
+-->
</script>
</button>
</div>
<div dojoType="dijit.layout.ContentPane" style="width:100%; height:100%;" layoutAlign="client">
- <div dojoType="dojox.grid.data.DojoData" id="status_data_model"jsId="status_data_model" store="status_store" query="{ 'id' : '*' }"></div>
+ <div dojoType="dojox.grid.data.DojoData" id="status_data_model" jsId="status_data_model" store="status_store" query="{ 'id' : '*' }"></div>
<div id="status_grid" dojoType="dojox.Grid" jsId="status_grid">
<script type="dojo/connect" event="startup">
+<!--
var g = this;
var status_grid_layout = [
{ cells : [
@@ -232,6 +234,7 @@
this.setStructure(status_grid_layout);
this.setModel(window.status_data_model);
+-->
</script>
</div>
</div>
@@ -242,7 +245,7 @@
<button jsId="delete_ccs_button" dojoType="dijit.form.Button" label="Delete Selected">
<script type="dojo/connect" event="onClick">
-
+<!--
var selected_rows = status_grid.selection.getSelected();
var selected_items = [];
@@ -297,7 +300,7 @@
}
}
-
+-->
</script>
</button>
Modified: trunk/Open-ILS/web/conify/global/config/marc_code_maps.html
===================================================================
--- trunk/Open-ILS/web/conify/global/config/marc_code_maps.html 2008-10-07 20:56:36 UTC (rev 10787)
+++ trunk/Open-ILS/web/conify/global/config/marc_code_maps.html 2008-10-08 05:19:39 UTC (rev 10788)
@@ -14,13 +14,13 @@
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Confiy :: Global :: Config :: MARC Code Maps</title>
+ <title>Conify :: Global :: Config :: MARC Code Maps</title>
<style type="text/css">
- @import url("/js/dojo/dojox/grid/_grid/tundraGrid.css");
- @import url("/js/dojo/dojo/resources/dojo.css");
- @import url("/js/dojo/dijit/themes/tundra/tundra.css");
- @import url("/js/dojo/dojox/widget/Toaster/Toaster.css");
+ @import url('/js/dojo/dojox/grid/_grid/tundraGrid.css');
+ @import url('/js/dojo/dojo/resources/dojo.css');
+ @import url('/js/dojo/dijit/themes/tundra/tundra.css');
+ @import url('/js/dojo/dojox/widget/Toaster/Toaster.css');
</style>
<style>
@@ -51,12 +51,13 @@
<script language='javascript' src='/opac/common/js/JSON_v1.js' type='text/javascript'></script>
<!-- Dojo goodness -->
- <script type="text/javascript" src="/js/dojo/dojo/dojo.js.uncompressed.js" djConfig="parseOnLoad: true"></script>
- <script type="text/javascript" src="/js/dojo/dijit/dijit.js.uncompressed.js"></script>
+ <script type="text/javascript" src="/js/dojo/dojo/dojo.js" djConfig="parseOnLoad: true"></script>
+ <script type="text/javascript" src="/js/dojo/dijit/dijit.js"></script>
<script type="text/javascript" src="marc_code_maps.js"></script>
<script type="text/javascript">
+<!--
var grid_row_object_cache = {};
var layouts = {};
@@ -191,7 +192,7 @@
})(codelist[i])
}
-
+-->
</script>
</head>
Modified: trunk/Open-ILS/web/conify/global/permission/grp_tree.html
===================================================================
--- trunk/Open-ILS/web/conify/global/permission/grp_tree.html 2008-10-07 20:56:36 UTC (rev 10787)
+++ trunk/Open-ILS/web/conify/global/permission/grp_tree.html 2008-10-08 05:19:39 UTC (rev 10788)
@@ -14,13 +14,13 @@
-->
<html xmlns="http://www.w2.org/1999/xhtml">
<head>
- <title>Confiy :: Global :: Permission :: Group Tree</title>
+ <title>Conify :: Global :: Permission :: Group Tree</title>
<style type="text/css">
- @import url("/js/dojo/dojox/grid/_grid/tundraGrid.css");
- @import url("/js/dojo/dojo/resources/dojo.css");
- @import url("/js/dojo/dijit/themes/tundra/tundra.css");
- @import url("/js/dojo/dojox/widget/Toaster/Toaster.css");
+ @import url('/js/dojo/dojox/grid/_grid/tundraGrid.css');
+ @import url('/js/dojo/dojo/resources/dojo.css');
+ @import url('/js/dojo/dijit/themes/tundra/tundra.css');
+ @import url('/js/dojo/dojox/widget/Toaster/Toaster.css');
</style>
<style>
@@ -75,6 +75,7 @@
<div dojoType="dijit.layout.ContentPane" sizeShare="100">
<script type="dojo/method">
+ <!--
window.dirtyStore = [];
server.pCRUD.request({
@@ -163,7 +164,7 @@
this.setValue( item, 'ischanged', 1);
- if (attr == 'grantable' && typeof n != 'string')
+ if (attr == 'grantable' && (typeof (n) != 'string'))
this.setValue(item, 'grantable', n ? 't' : 'f');
}
@@ -171,7 +172,7 @@
}
}).send();
-
+-->
</script>
<div
id="group_tree"
@@ -184,7 +185,7 @@
>
<script type="dojo/method" event="onClick" args="item,node">
-
+<!--
right_pane_toggler.show();
current_group = item;
@@ -226,7 +227,7 @@
editor_pane_application_perm.setValue( this.store.getValue( current_group, 'application_perm' ) );
editor_pane_usergroup.setChecked( this.store.getValue( current_group, 'usergroup' ) == 't' ? true : false );
-
+-->
</script>
<script type="dojo/method" event="getLabel" args="item,pI">
@@ -277,7 +278,7 @@
id="editor_pane_description"
dojoType="dijit.form.Textarea"
jsId="editor_pane_description"
- onChange="if (current_group) group_store.setValue( current_group, "description", this.getValue() );"
+ onChange="if (current_group) group_store.setValue( current_group, 'description', this.getValue() );"
></textarea>
</span>
<span dojoType="openils.widget.TranslatorPopup" targetObject="current_fm_group" field="description"></span>
@@ -306,9 +307,11 @@
jsId="editor_pane_application_perm"
>
<script type="dojo/connect" event="onChange">
+<!--
if (current_group && this.getValue()) {
group_store.setValue( current_group, "application_perm", this.getValue() );
}
+-->
</script>
</div>
</td>
@@ -326,9 +329,11 @@
required="true"
>
<script type="dojo/connect" event="onChange">
+<!--
if (current_group && this.getValue()) {
this.store.setValue( current_group, "parent", this.getValue() );
}
+-->
</script>
</div>
</td>
@@ -360,6 +365,7 @@
this.disabled = true;
</script>
<script type="dojo/connect" event="onClick">
+<!--
if (group_store.getValue( current_group, '_trueRoot' ) == 'true') {
highlighter.editor_pane.red.play();
@@ -434,7 +440,7 @@
}).send();
}
-
+-->
</script>
</button>
@@ -445,6 +451,7 @@
this.disabled = true;
</script>
<script type="dojo/connect" event="onClick">
+<!--
var new_fm_obj = new pgt().fromHash({
isnew : 1,
@@ -483,7 +490,7 @@
highlighter.group_tree.green.play();
status_update( 'New child Group created for ' + group_store.getValue( current_group, 'name' ) );
}
-
+-->
</script>
</button>
@@ -497,11 +504,11 @@
</script>
<div dojoType="dijit.layout.LayoutContainer" orientation="horizontal" style="width:100%; height:100%;">
<div id="grid_container" dojoType="dijit.layout.ContentPane" sizeShare="1" layoutAlign="left">
- <div dojoType="dojox.grid.data.DojoData" id="perm_map_model"jsId="perm_map_model" store="perm_map_store"></div>
+ <div dojoType="dojox.grid.data.DojoData" id="perm_map_model" jsId="perm_map_model" store="perm_map_store"></div>
<div id="perm_grid" dojoType="dojox.Grid" model="perm_map_model" jsId="perm_grid">
<script type="dojo/connect" event="startup">
-
+<!--
function get_item_part(model_field, item_search_field, item_part, model, store, datum, row) {
var formatter = true;
@@ -558,7 +565,7 @@
];
perm_grid.setStructure(window.current_perm_grid_layout);
-
+-->
</script>
</div>
</div>
@@ -610,7 +617,7 @@
<button dojoType="dijit.form.Button" jsId="new_mapping_add" label="Add Mapping">
<script type="dojo/connect" event="onClick">
-
+<!--
var new_perm = new_perm_select.getValue();
alert(new_perm);
if (!new_perm) return;
@@ -668,7 +675,7 @@
}).send();
new_popup._closeDropDown();
-
+-->
</script>
</button>
@@ -679,7 +686,7 @@
<button jsId="delete_pgpm_button" dojoType="dijit.form.Button" label="Remove Selected">
<script type="dojo/connect" event="onClick">
-
+<!--
var selected_rows = perm_grid.selection.getSelected();
var selected_items = [];
@@ -729,7 +736,7 @@
}).send();
}
-
+-->
</script>
</button>
Modified: trunk/Open-ILS/web/conify/global/permission/perm_list.html
===================================================================
--- trunk/Open-ILS/web/conify/global/permission/perm_list.html 2008-10-07 20:56:36 UTC (rev 10787)
+++ trunk/Open-ILS/web/conify/global/permission/perm_list.html 2008-10-08 05:19:39 UTC (rev 10788)
@@ -14,13 +14,13 @@
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Confiy :: Global :: Permission :: Permission List</title>
+ <title>Conify :: Global :: Permission :: Permission List</title>
<style type="text/css">
- @import url("/js/dojo/dojox/grid/_grid/tundraGrid.css");
- @import url("/js/dojo/dojo/resources/dojo.css");
- @import url("/js/dojo/dijit/themes/tundra/tundra.css");
- @import url("/js/dojo/dojox/widget/Toaster/Toaster.css");
+ @import url('/js/dojo/dojox/grid/_grid/tundraGrid.css');
+ @import url('/js/dojo/dojo/resources/dojo.css');
+ @import url('/js/dojo/dijit/themes/tundra/tundra.css');
+ @import url('/js/dojo/dojox/widget/Toaster/Toaster.css');
</style>
<style>
@@ -62,6 +62,7 @@
<div dojoType="dijit.layout.LayoutContainer" id="grid_container" jsId="grid_container" orientation="vertical">
<script type="dojo/method">
+<!--
window.highlighter= {};
window.highlighter.green = dojox.fx.highlight( { color : '#B4FFB4', node : 'grid_container', duration : 500 } );
window.highlighter.red = dojox.fx.highlight( { color : '#FF2018', node : 'grid_container', duration : 500 } );
@@ -144,7 +145,7 @@
});
}
}).send();
-
+-->
</script>
<div dojoType="dijit.layout.LayoutContainer" orientation="horizontal" style="margin-top: 5px;" layoutAlign="top">
@@ -152,7 +153,7 @@
<div dojoType="dijit.form.TextBox" id="new_perm_code" jsId="new_perm_code" label="New Code"></div>
<button dojoType="dijit.form.Button" id="save_new_perm_code" jsId="save_new_perm_code" label="Add">
<script type="dojo/connect" event="onClick">
-
+<!--
var new_code = new_perm_code.getValue();
if (!new_code) return;
@@ -186,15 +187,15 @@
}
}
}).send();
-
+-->
</script>
</button>
</div>
<div dojoType="dijit.layout.ContentPane" style="width:100%; height:100%;" layoutAlign="client">
- <div dojoType="dojox.grid.data.DojoData" id="perm_data_model"jsId="perm_data_model" store="perm_store" query="{ code : '*' }"></div>
+ <div dojoType="dojox.grid.data.DojoData" id="perm_data_model" jsId="perm_data_model" store="perm_store" query="{ code : '*' }"></div>
<div id="perm_grid" dojoType="dojox.Grid" model="perm_data_model" structure="perm_grid_layout" jsId="perm_grid">
- <!!--
+ <!--
<script type="dojo/connect" event="onSet" args="item,attr,oldVal,newVal">
</script>
-->
@@ -207,7 +208,7 @@
<button jsId="delete_ppl_button" dojoType="dijit.form.Button" label="Delete Selected">
<script type="dojo/connect" event="onClick">
-
+<!--
var selected_rows = perm_grid.selection.getSelected();
var selected_items = [];
@@ -262,7 +263,7 @@
}
}
-
+-->
</script>
</button>
More information about the open-ils-commits
mailing list