Merge pull request #190 from corgibytes/media_dialog_fixes

Adjusted the interaction with the media dialog.
This commit is contained in:
Didier Lafforgue 2011-08-31 14:53:16 -07:00
commit f81d3a698f
4 changed files with 1 additions and 6 deletions

View File

@ -61,8 +61,6 @@ $.fn.imagepicker = function(options) {
asset.removeClass('new-asset');
$('.asset-picker p.no-items').hide();
$('.asset-picker ul').scrollTo($('li.asset:last'), 400);
}
});

View File

@ -20,7 +20,7 @@ p.no-items {
ul.assets {
overflow: auto;
height: 571px;
height: 275px;
}
ul.assets li.asset h4 a {

View File

@ -15,7 +15,6 @@
<script src="/javascripts/admin/plugins/plupload/plupload.html5.min.js" type="text/javascript"></script>
<script src="/javascripts/admin/plugins/plupload/jquery.plupload.queue.min.js" type="text/javascript"></script>
<script src="/javascripts/admin/plugins/plupload/jquery.plupload.queue.min.js" type="text/javascript"></script>
<script src="/javascripts/admin/plugins/scrollTo.js" type="text/javascript"></script>
<script type="text/javascript" src="js/dialog.js"></script>

View File

@ -174,8 +174,6 @@ var MediafileDialog = {
asset.removeClass('new-asset');
$('p.no-items').hide();
$('ul').scrollTo($('li.asset:last'), 400);
},
_destroyAsset: function(asset) {