mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 15:26:16 +08:00
js files as abap classes (#1623)
* [create-pull-request] automated change * Update App.controller.js --------- Co-authored-by: oblomov-dev <oblomov-dev@users.noreply.github.com> Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
This commit is contained in:
parent
e59657a851
commit
20b0c4c523
|
@ -207,6 +207,7 @@ sap.ui.define("z2ui5/Tree", ["sap/ui/core/Control"], (Control) => {
|
||||||
z2ui5.onBeforeRoundtrip.push(this.setBackend.bind(this));
|
z2ui5.onBeforeRoundtrip.push(this.setBackend.bind(this));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
renderer(oRm, oControl) {
|
||||||
if (!z2ui5.treeState) return;
|
if (!z2ui5.treeState) return;
|
||||||
setTimeout((id) => {
|
setTimeout((id) => {
|
||||||
z2ui5.oView.byId( id ).getBinding('items').setTreeState( z2ui5.treeState );
|
z2ui5.oView.byId( id ).getBinding('items').setTreeState( z2ui5.treeState );
|
||||||
|
|
|
@ -227,11 +227,10 @@ CLASS z2ui5_cl_app_app_js IMPLEMENTATION.
|
||||||
` z2ui5.onBeforeRoundtrip.push(this.setBackend.bind(this));` && |\n| &&
|
` z2ui5.onBeforeRoundtrip.push(this.setBackend.bind(this));` && |\n| &&
|
||||||
` },` && |\n| &&
|
` },` && |\n| &&
|
||||||
`` && |\n| &&
|
`` && |\n| &&
|
||||||
` renderer(oRm, oControl) {` && |\n| &&
|
` if (!z2ui5.treeState) return;` && |\n| &&
|
||||||
` setTimeout(() => {` && |\n| &&
|
` setTimeout((id) => {` && |\n| &&
|
||||||
` z2ui5.oView.byId( this.getProperty("tree_id") ).setTreeState( z2ui5.treeState );` && |\n| &&
|
` z2ui5.oView.byId( id ).getBinding('items').setTreeState( z2ui5.treeState );` && |\n| &&
|
||||||
` }, 100);` && |\n| &&
|
` }, 100, oControl.getProperty("tree_id") );` && |\n| &&
|
||||||
` }` && |\n| &&
|
|
||||||
` });` && |\n| &&
|
` });` && |\n| &&
|
||||||
`});` && |\n| &&
|
`});` && |\n| &&
|
||||||
`` && |\n| &&
|
`` && |\n| &&
|
||||||
|
@ -518,9 +517,9 @@ CLASS z2ui5_cl_app_app_js IMPLEMENTATION.
|
||||||
` defaultValue: true` && |\n| &&
|
` defaultValue: true` && |\n| &&
|
||||||
` },` && |\n| &&
|
` },` && |\n| &&
|
||||||
` checkDirectUpload: {` && |\n| &&
|
` checkDirectUpload: {` && |\n| &&
|
||||||
|
` type: "boolean",` && |\n| &&
|
||||||
|\n|.
|
|\n|.
|
||||||
result = result &&
|
result = result &&
|
||||||
` type: "boolean",` && |\n| &&
|
|
||||||
` defaultValue: false` && |\n| &&
|
` defaultValue: false` && |\n| &&
|
||||||
` }` && |\n| &&
|
` }` && |\n| &&
|
||||||
` },` && |\n| &&
|
` },` && |\n| &&
|
||||||
|
|
Loading…
Reference in New Issue
Block a user