[open-ils-commits] r12182 - in trunk/Open-ILS/web: js/ui/default/conify/global/config templates/default/conify/global/config (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Feb 14 12:26:26 EST 2009
Author: erickson
Date: 2009-02-14 12:28:50 -0500 (Sat, 14 Feb 2009)
New Revision: 12182
Modified:
trunk/Open-ILS/web/js/ui/default/conify/global/config/idl_field_doc.js
trunk/Open-ILS/web/templates/default/conify/global/config/idl_field_doc.tt2
Log:
updated to match new fm_class field name
Modified: trunk/Open-ILS/web/js/ui/default/conify/global/config/idl_field_doc.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/conify/global/config/idl_field_doc.js 2009-02-14 01:11:31 UTC (rev 12181)
+++ trunk/Open-ILS/web/js/ui/default/conify/global/config/idl_field_doc.js 2009-02-14 17:28:50 UTC (rev 12182)
@@ -23,8 +23,8 @@
var dlist = [];
fdocGrid.overrideEditWidgets.field = editFieldSelector;
- fdocGrid.overrideEditWidgets.classname = editClassSelector;
- dojo.connect(fdocGrid.overrideEditWidgets.classname, 'onChange', updateFieldSelector);
+ fdocGrid.overrideEditWidgets.fm_class = editClassSelector;
+ dojo.connect(fdocGrid.overrideEditWidgets.fm_class, 'onChange', updateFieldSelector);
for(var f in slist) {
if(slist[f].label != slist[f].name) // only show tables that have an actual label
@@ -33,13 +33,13 @@
dlist = dlist.sort(function(a, b){return (a.name < b.name) ? -1 : 1;});
fmClassSelector.store =
- fdocGrid.overrideEditWidgets.classname.store =
+ fdocGrid.overrideEditWidgets.fm_class.store =
new dojo.data.ItemFileReadStore({data:{identifier:'value', label:'name', items:dlist}});
fmClassSelector.startup();
dojo.connect(fmClassSelector, 'onChange',
function() {
- fdocGrid.loadAll({order_by:{fdoc : 'field'}}, {classname: this.attr('value')});
+ fdocGrid.loadAll({order_by:{fdoc : 'field'}}, {fm_class: this.attr('value')});
}
);
}
Modified: trunk/Open-ILS/web/templates/default/conify/global/config/idl_field_doc.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/config/idl_field_doc.tt2 2009-02-14 01:11:31 UTC (rev 12181)
+++ trunk/Open-ILS/web/templates/default/conify/global/config/idl_field_doc.tt2 2009-02-14 17:28:50 UTC (rev 12182)
@@ -12,7 +12,7 @@
<div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:90%'>
<table jsId="fdocGrid"
dojoType="openils.widget.AutoGrid"
- fieldOrder="['id', 'classname', 'field', 'owner', 'string']"
+ fieldOrder="['id', 'fm_class', 'field', 'owner', 'string']"
query="{id: '*'}"
fmClass='fdoc'
defaultCellWidth='12'
More information about the open-ils-commits
mailing list