[open-ils-commits] r9621 - in
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb:
public/oils/media/ui_js/oils/default/acq/financial
templates/oils/default/acq/financial
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu May 15 12:58:04 EDT 2008
Author: erickson
Date: 2008-05-15 12:58:02 -0400 (Thu, 15 May 2008)
New Revision: 9621
Modified:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/financial/view_provider.js
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_provider.html
Log:
moved xpath down to last option vendor data dropdown. anchored the xpath regex
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/financial/view_provider.js
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/financial/view_provider.js 2008-05-15 15:16:32 UTC (rev 9620)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/financial/view_provider.js 2008-05-15 16:58:02 UTC (rev 9621)
@@ -9,7 +9,7 @@
dojo.require('openils.User');
var provider = null;
-var marcRegex = /\/\/\*\[@tag="(\d+)"]\/\*\[@code="(\w)"]/;
+var marcRegex = /^\/\/\*\[@tag="(\d+)"]\/\*\[@code="(\w)"]$/;
function getOrgInfo(rowIndex) {
data = providerGrid.model.getRow(rowIndex);
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_provider.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_provider.html 2008-05-15 15:16:32 UTC (rev 9620)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_provider.html 2008-05-15 16:58:02 UTC (rev 9621)
@@ -67,10 +67,6 @@
<td><input id='oils-acq-provider-or-desc' dojoType="dijit.form.TextBox" name="description"> </input></td>
</tr>
<tr>
- <td><label for="amount">${_('XPath:')} </label></td>
- <td><input dojoType="dijit.form.TextBox" name="xpath"></input></td>
- </tr>
- <tr>
<td><label for="amount">${_('Tag:')} </label></td>
<td><input dojoType="dijit.form.TextBox" name="tag"></input></td>
</tr>
@@ -79,6 +75,10 @@
<td><input dojoType="dijit.form.TextBox" name="subfield"></input></td>
</tr>
<tr>
+ <td><label for="amount">${_('XPath:')} </label></td>
+ <td><input dojoType="dijit.form.TextBox" name="xpath"></input></td>
+ </tr>
+ <tr>
<td colspan='2' align='center'>
<button dojoType=dijit.form.Button type="submit">${_('Apply')}</button>
</td>
@@ -102,9 +102,9 @@
{name: '${_("ID")}', field: 'id'},
{name: '${_("Code")}', field:'code'},
{name: '${_("Description")}', field: "description", width:'auto'},
- {name: '${_("XPath")}', field:'xpath', width:'auto'},
{name: '${_("Tag")}', get:getTag},
- {name: '${_("Subfield")}', get:getSubfield}
+ {name: '${_("Subfield")}', get:getSubfield},
+ {name: '${_("XPath")}', field:'xpath', width:'auto'}
]]
}];
</script>
More information about the open-ils-commits
mailing list