Do not scroll to the preview.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10099 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7306c733bf
commit
5565a078f3
|
@ -303,7 +303,6 @@ function submitPreview(url, form, target) {
|
||||||
data: $('#'+form).serialize(),
|
data: $('#'+form).serialize(),
|
||||||
success: function(data){
|
success: function(data){
|
||||||
$('#'+target).html(data);
|
$('#'+target).html(data);
|
||||||
$('html, body').animate({scrollTop: $('#'+target).offset().top}, 100);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue