Skip to content

Commit a39f668

Browse files
1 parent 850674a commit a39f668

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

app/webapp/cc/DebugTool.fragment.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
>
1212
<IconTabHeader
1313
selectedKey="PLAIN"
14-
select="onItemSelect"
14+
select=".onItemSelect"
1515
>
1616
<items>
1717
<IconTabFilter
@@ -83,7 +83,7 @@
8383
</items>
8484
</IconTabHeader>
8585
<VBox>
86-
<ToggleButton text="Source XML after Templating" visible="{/isTemplating}" pressed="{/templatingSource}" press="onTemplatingPress" />
86+
<ToggleButton text="Source XML after Templating" visible="{/isTemplating}" pressed="{/templatingSource}" press=".onTemplatingPress" />
8787
<ce:CodeEditor
8888
type="{/type}"
8989
value="{/value}"
@@ -97,7 +97,7 @@
9797
<endButton>
9898
<Button
9999
text="Close"
100-
press="onClose"
100+
press=".onClose"
101101
/>
102102
</endButton>
103103
</Dialog>

app/webapp/controller/App.controller.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -851,8 +851,9 @@ sap.ui.define("z2ui5/SmartMultiInputExt", ["sap/ui/core/Control", "sap/m/Token",
851851
sap.ui.define("z2ui5/CameraPicture", [
852852
"sap/ui/core/Control",
853853
"sap/m/Dialog",
854-
"sap/m/Button"
855-
], function (Control, Dialog, Button) {
854+
"sap/m/Button",
855+
"sap/ui/core/HTML"
856+
], function (Control, Dialog, Button, HTML) {
856857
"use strict";
857858
return Control.extend("z2ui5.CameraPicture", {
858859
metadata: {
@@ -900,7 +901,7 @@ sap.ui.define("z2ui5/CameraPicture", [
900901
verticalScrolling: false,
901902
stretch: true,
902903
content: [
903-
new sap.ui.core.HTML({
904+
new HTML({
904905
id: this.getId() + 'PictureContainer',
905906
content: '<video width="600px" height="400px" autoplay="true" id="zvideo">'
906907
}),
@@ -911,7 +912,7 @@ sap.ui.define("z2ui5/CameraPicture", [
911912
this._oScanDialog.close();
912913
}.bind(this)
913914
}),
914-
new sap.ui.core.HTML({
915+
new HTML({
915916
content: '<canvas hidden id="zcanvas" style="overflow:auto"></canvas>'
916917
}),
917918
],

0 commit comments

Comments
 (0)