adjustments for newly inserted assets
This commit is contained in:
@@ -25,7 +25,7 @@ $(document).ready(function() {
|
||||
$('.assets .upload-button').bind('click', showUploadModal);
|
||||
$('.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);
|
||||
$('.new-unit-item').bind('click', createNewUnit);
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
{{uploadDate}}
|
||||
</td>
|
||||
<td class="embed-col">
|
||||
<a class="show-xml" href="{{url}}">XML</a>
|
||||
<input type="text" class="embeddable-xml-input" value='<img src="{{url}}"/>'>
|
||||
</td>
|
||||
</tr>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user