File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ function tryOpenOpenUI(sources, args) {
115115 } ;
116116
117117 element . onload = function ( ) {
118- console . log ( `Load openui5 from ${ src } ` ) ;
118+ args . load_src = src ;
119119 } ;
120120
121121 document . head . appendChild ( element ) ;
@@ -167,6 +167,8 @@ async function loadOpenui5(args) {
167167 args . rejectFunc = reject ;
168168
169169 globalThis . completeUI5Loading = function ( ) {
170+ console . log ( `Load openui5 version ${ globalThis . sap . ui . version } from ${ args . load_src } ` ) ;
171+
170172 globalThis . sap . ui . loader . config ( {
171173 paths : {
172174 jsroot : source_dir ,
@@ -178,6 +180,8 @@ async function loadOpenui5(args) {
178180 args . resolveFunc ( globalThis . sap ) ;
179181 args . resolveFunc = null ;
180182 }
183+
184+ delete globalThis . completeUI5Loading ;
181185 } ;
182186
183187 tryOpenOpenUI ( openui5_sources , args ) ;
You can’t perform that action at this time.
0 commit comments