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:
@@ -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();
|
||||
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user