1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Make Media-Manager navigation feel more responsive.

This commit is contained in:
Cameron
2017-01-15 11:10:51 -08:00
parent f564d360e5
commit 51fa56339b
2 changed files with 5 additions and 7 deletions

View File

@@ -485,24 +485,22 @@ $(document).ready(function()
$('#e-modal-loading', window.parent.document).show();
$('iframe', window.parent.document).attr('scrolling', 'no'); // hide the scrollbar.
$(id).hide('slide', { direction: outDir }, 1500, function(){ });
$.get(src, function( data ) {
$(id).hide('slide', { direction: outDir }, 500, function(){
// alert('done');
// alert('done');
$(id ).html( data );
newVal = $('#admin-ui-media-select-count-hidden').text();
$('#admin-ui-media-select-count').text(newVal).fadeIn();
$(id).show('slide', { direction: inDir },700,function(){
$(id).show('slide', { direction: inDir },500,function(){
$('#e-modal-loading', window.parent.document).hide();
});
});