test dyn load prov-n
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Fri, 11 May 2012 14:03:55 +0100
changeset 2773 e33d5f5e5f1f
parent 2772 986a29eb6c16
child 2774 4eaa7b8e7139
test dyn load prov-n
model/prov-n.html
--- a/model/prov-n.html	Fri May 11 13:01:46 2012 +0100
+++ b/model/prov-n.html	Fri May 11 14:03:55 2012 +0100
@@ -20,7 +20,7 @@
 function insertProductionDefinition(doc, content, name) {
 
 	var xml=$.parseXML(content);
-	var segment = $(xml).find('a[name~="' + name + '"]')[0].parent();
+	var segment = $($(xml).find('a[name~="' + name + '"]')[0]).parent();
 
 	return doc._esc((new XMLSerializer()).serializeToString(segment));
 }