Open GoogleCodeExporter opened 9 years ago
Similar things can happen when constructing a dynamic dropzone. Drag/upload a
photo in the dropzone below will not link to the image, but if the img tag has
a title="{rdfs:label}" it will work.
<form id="form" method="POST" action="" enctype="application/sparql-update" about="?this">
<div dropzone="link s:text/uri-list">
<label>Photo <a href="?create=/callimachus/Photo" onclick="return calli.createResource(this)" class="ui-icon ui-icon-newwin"/></label>
<div rel="foaf:img">
<span about="?img" typeof="foaf:Image" class="ui-state-highlight ui-corner-all">
<img src="{?img}?small" />
<a href="{?img}" onclick="return calli.removeResource(this)" class="ui-icon ui-icon-close" />
</span>
</div>
</div>
<button type="submit">Save</button>
<button type="button" onclick="location.replace('?view')">Cancel</button>
</form>
Original comment by ja...@3roundstones.com
on 12 Mar 2012 at 3:07
Original issue reported on code.google.com by
ja...@3roundstones.com
on 14 Oct 2011 at 1:32