git-svn-id: https://svn.coded.pt/svn/SIPRP@1907 bb69d46d-e84e-40c8-a05a-06db0d633741

lxbfYeaa
João Maurício 12 years ago
parent de3c4428df
commit 7986d2fe3d

@ -71,8 +71,8 @@
globals.plugins.buildFloatingSideMenu({ globals.plugins.buildFloatingSideMenu({
title: 'Ficha Clinica', title: 'Ficha Clinica',
scrollspyItems: scrollspyItems, scrollspyItems: scrollspyItems,
afterrender: function(){ afterrender: function(){
$('body').scrollspy({ $('body').scrollspy({
target: '#scrollspyItems' target: '#scrollspyItems'
}); });

@ -286,6 +286,10 @@
if(angular.isFunction(options.afterrender)) if(angular.isFunction(options.afterrender))
{ {
if(options.scrollspyItems){
$('body').scrollspy('refresh');
}
options.afterrender(); options.afterrender();
} }
}); });

Loading…
Cancel
Save