Remove blind effect for email private link in drop down

This commit is contained in:
Michael Gapczynski 2012-05-02 19:40:11 -04:00
parent 6c2fc0cbe8
commit d764585d8b
1 changed files with 4 additions and 4 deletions

View File

@ -164,8 +164,8 @@ $(document).ready(function() {
success: function(){ success: function(){
$('#link').hide('blind'); $('#link').hide('blind');
$('#emailBreak').remove(); $('#emailBreak').remove();
$('#email').hide('blind'); $('#email').hide();
$('#emailButton').hide('blind'); $('#emailButton').hide();
} }
}); });
} }
@ -256,7 +256,7 @@ function showPublicLink(token, file) {
$('#link').val(parent.location.protocol+'//'+location.host+OC.linkTo('files_sharing','get.php')+'?token='+token+'&f='+file); $('#link').val(parent.location.protocol+'//'+location.host+OC.linkTo('files_sharing','get.php')+'?token='+token+'&f='+file);
$('#link').show('blind', function() { $('#link').show('blind', function() {
$('#link').after('<br id="emailBreak" />'); $('#link').after('<br id="emailBreak" />');
$('#email').show('blind'); $('#email').show();
$('#emailButton').show('blind'); $('#emailButton').show();
}); });
} }