Merge pull request #190 from corgibytes/media_dialog_fixes
Adjusted the interaction with the media dialog.
This commit is contained in:
commit
f81d3a698f
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -20,7 +20,7 @@ p.no-items {
|
||||
|
||||
ul.assets {
|
||||
overflow: auto;
|
||||
height: 571px;
|
||||
height: 275px;
|
||||
}
|
||||
|
||||
ul.assets li.asset h4 a {
|
||||
|
@ -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>
|
||||
|
||||
|
@ -174,8 +174,6 @@ var MediafileDialog = {
|
||||
asset.removeClass('new-asset');
|
||||
|
||||
$('p.no-items').hide();
|
||||
|
||||
$('ul').scrollTo($('li.asset:last'), 400);
|
||||
},
|
||||
|
||||
_destroyAsset: function(asset) {
|
||||
|
Loading…
Reference in New Issue
Block a user