From a91a19e7a808d1fec1f657670e00321e185451ed Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Wed, 17 Oct 2012 15:12:50 -0400 Subject: [PATCH] adjustments for newly inserted assets --- cms/static/js/base.js | 2 +- cms/templates/asset_index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}} - XML +