web/data/cubicweb.edition.js
branchstable
changeset 5475 b44bad36e609
parent 5336 7bf2d66418af
child 5658 7b9553a9db65
child 5665 1b5d9ec38c1b
--- a/web/data/cubicweb.edition.js	Wed May 05 15:29:39 2010 +0200
+++ b/web/data/cubicweb.edition.js	Wed May 05 16:52:27 2010 +0200
@@ -402,6 +402,7 @@
     }
     _displayValidationerrors(formid, descr[0], descr[1]);
     updateMessage(_('please correct errors below'));
+    // ensure the browser does not scroll down
     document.location.hash = '#header';
     return false;
 }