web/test/jstests/ajax_url1.html
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 13 Mar 2015 14:47:35 +0100
changeset 10234 a12e4459eee5
parent 8879 982a49239420
child 10414 eaf42d452410
permissions -rw-r--r--
[web/views/rdf] Take the second element of XY equivalent for non final relation When given a Yams snippet of the form `<etype> <rtype>` ``xy.xeq()`` will return the XML snippet equivalent to this relation in the form of a tuple `(subject, rtype, object)` so ``item`` will always be a tuple here. In fact, the correct code appears just a few lines above (around line 88) for final relations so I guess this is a copy-paste mistake. Closes #4745929.

<div id="ajaxroot">
  <div class="ajaxHtmlHead">
    <script src="http://foo.js" type="text/javascript"> </script>
  </div>
  <h1>Hello</h1>
</div>