git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@13576
dcc99617-32d9-48b4-a31d-
7c20da2025e4
var fullpath = item.getAttribute('fullpath');
var reltype = item.getAttribute('reltype');
- var fields = filterByAttributeNS(c.getElementsByTagName('field'),persistNS, 'virtual','false');
+ var fields = nodelistToArray(c.getElementsByTagName('field'));
fields.sort( sortLabels );
var id = c.getAttribute('id');
return k;
}
-
+/* This just lets us return an array consistent with the filterBy* functions */
+function nodelistToArray (nodes) {
+ var aResponse = [];
+ for ( var i = 0; i < nodes.length; i++ ) {
+ aResponse.push(nodes[i]);
+ }
+ return aResponse;
+}