Commit a91a19e7 by Tom Giannattasio

adjustments for newly inserted assets

parent e9b42d7a
...@@ -25,7 +25,7 @@ $(document).ready(function() { ...@@ -25,7 +25,7 @@ $(document).ready(function() {
$('.assets .upload-button').bind('click', showUploadModal); $('.assets .upload-button').bind('click', showUploadModal);
$('.upload-modal .close-button').bind('click', hideModal); $('.upload-modal .close-button').bind('click', hideModal);
$('.embeddable-xml-input').bind('click', function(){ $(this).select(); }); $body.on('click', '.embeddable-xml-input', function(){ $(this).select(); });
$('.unit .item-actions .delete-button').bind('click', deleteUnit); $('.unit .item-actions .delete-button').bind('click', deleteUnit);
$('.new-unit-item').bind('click', createNewUnit); $('.new-unit-item').bind('click', createNewUnit);
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
{{uploadDate}} {{uploadDate}}
</td> </td>
<td class="embed-col"> <td class="embed-col">
<a class="show-xml" href="{{url}}">XML</a> <input type="text" class="embeddable-xml-input" value='<img src="{{url}}"/>'>
</td> </td>
</tr> </tr>
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment