Pārlūkot izejas kodu

Customer portal : Fixed a bug in sticky buttons

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4141 a333f486-631f-4898-b8df-5754b55c2be0
glajarige 9 gadi atpakaļ
vecāks
revīzija
742e451a71

+ 2 - 0
datamodels/2.x/itop-portal-base/portal/src/views/bricks/object/mode_create.html.twig

@@ -108,6 +108,8 @@
 			oFieldSet_{{ sFormIdSanitized }}.on('form_built', function(oEvent){
 			oFieldSet_{{ sFormIdSanitized }}.on('form_built', function(oEvent){
 				scrollHandler_{{ sFormIdSanitized }}();
 				scrollHandler_{{ sFormIdSanitized }}();
 			});
 			});
+			// - Initial test
+			setTimeout(function(){ scrollHandler_{{ sFormIdSanitized }}(); }, 400);
 			
 			
 			// Remove sticky button when closing modal
 			// Remove sticky button when closing modal
 			$('#{{ sFormId }}').closest('.modal').on('hide.bs.modal', function () {
 			$('#{{ sFormId }}').closest('.modal').on('hide.bs.modal', function () {