mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-30 01:46:19 +08:00
bugfix scrolling (#599)
* small bugfixes * bugfix launchpad compatibility for custom controls * bugfixes security policy and unbind * bugfix unbind function * scrolling error bugfix
This commit is contained in:
parent
458e49c1bc
commit
8cedf11476
|
@ -95,7 +95,7 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION.
|
|||
` });` && |\n| &&
|
||||
` }` && |\n| &&
|
||||
` if (sap.z2ui5.oResponse.PARAMS.T_SCROLL) {` && |\n| &&
|
||||
` jQuery.sap.delayedCall(1, this, () => {` && |\n| &&
|
||||
` // jQuery.sap.delayedCall(1, this, () => {` && |\n| &&
|
||||
` sap.z2ui5.oResponse.PARAMS.T_SCROLL.forEach(item => {` && |\n| &&
|
||||
` try {` && |\n| &&
|
||||
` sap.z2ui5.oView.byId(item.N).scrollTo(item.V);` && |\n| &&
|
||||
|
@ -103,9 +103,9 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION.
|
|||
` try {` && |\n| &&
|
||||
` var ele = '#' + sap.z2ui5.oView.byId(item.N).getId() + '-inner';` && |\n| &&
|
||||
` $(ele).scrollTop(item.V);` && |\n| &&
|
||||
` } catch { }` && |\n| &&
|
||||
` } catch { setTimeout( function( item ) { sap.z2ui5.oView.byId(item.N).scrollTo(item.V); } , 1 , item);}` && |\n| &&
|
||||
` }` && |\n| &&
|
||||
` });` && |\n| &&
|
||||
` // });` && |\n| &&
|
||||
` }` && |\n| &&
|
||||
` ` && |\n| &&
|
||||
` );` && |\n| &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user