clearwing

changeset 190:b0c1a61e29b9 1.2.3-genius

Fixed scroll to metadata on .heading click
author Stelios <stv@roe.ac.uk>
date Fri Dec 23 17:14:21 2016 +0000 (2016-12-23)
parents 235b18b2ea32
children 677dc353bc8e
files src/static/static_vo_tool/js/freeformJS.js
line diff
     1.1 --- a/src/static/static_vo_tool/js/freeformJS.js	Fri Dec 23 16:31:39 2016 +0000
     1.2 +++ b/src/static/static_vo_tool/js/freeformJS.js	Fri Dec 23 17:14:21 2016 +0000
     1.3 @@ -1164,6 +1164,8 @@
     1.4          _this.nextAll().slideUp();
     1.5        } else {
     1.6          _this.nextAll().slideDown();
     1.7 +        _this_next.scrollMinimal('content_dbaccess_SQL_form ');
     1.8 +
     1.9        }
    1.10      } else {
    1.11  
    1.12 @@ -1210,6 +1212,7 @@
    1.13  
    1.14              }
    1.15              _this_next.slideDown("slow");
    1.16 +            _this_next.scrollMinimal('content_dbaccess_SQL_form ');
    1.17              jQuery('#content_dbaccess_SQL_form #load').hide();
    1.18            }
    1.19          });