]> source.dussan.org Git - redmine.git/commitdiff
Do not scroll to the preview.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 28 Jul 2012 16:42:10 +0000 (16:42 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 28 Jul 2012 16:42:10 +0000 (16:42 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10099 e93f8b46-1217-0410-a6f0-8f06a7374b81

public/javascripts/application.js

index 0746817f49a800a297bccdd81c7aa9bf9d0145ac..42fb945ad44739cfddbd08a57e4b634023d9b29b 100644 (file)
@@ -303,7 +303,6 @@ function submitPreview(url, form, target) {
     data: $('#'+form).serialize(),
     success: function(data){
       $('#'+target).html(data);
-      $('html, body').animate({scrollTop: $('#'+target).offset().top}, 100);
     }
   });
 }