diff --git a/cms/static/js/base.js b/cms/static/js/base.js index d312815a32..0bcf97c04f 100644 --- a/cms/static/js/base.js +++ b/cms/static/js/base.js @@ -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); diff --git a/cms/templates/asset_index.html b/cms/templates/asset_index.html index 6780403866..53b4c6d71a 100644 --- a/cms/templates/asset_index.html +++ b/cms/templates/asset_index.html @@ -28,7 +28,7 @@ {{uploadDate}}