@sapui5/sap.ndc 1.92.0 → 1.93.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/sap/ndc/.library
CHANGED
|
@@ -222,13 +222,13 @@ sap.ui.define([
|
|
|
222
222
|
|
|
223
223
|
oScanDialog.setTitle(oDialogTitle);
|
|
224
224
|
oScanDialog.addContent(
|
|
225
|
-
new Label({
|
|
225
|
+
new Label(oScanDialog.getId() + '-txt_barcode', {
|
|
226
226
|
text: "{i18n>BARCODE_DIALOG_MSG}",
|
|
227
227
|
visible: "{/isNoScanner}"
|
|
228
228
|
})
|
|
229
229
|
);
|
|
230
230
|
|
|
231
|
-
var oFallbackInput = new Input({
|
|
231
|
+
var oFallbackInput = new Input(oScanDialog.getId() + '-inp_barcode', {
|
|
232
232
|
value: "{/barcode}",
|
|
233
233
|
valueLiveUpdate: true,
|
|
234
234
|
liveChange: function(oEvent) {
|
|
@@ -243,7 +243,7 @@ sap.ui.define([
|
|
|
243
243
|
oScanDialog.addContent(oFallbackInput);
|
|
244
244
|
|
|
245
245
|
oScanDialog.setBeginButton(
|
|
246
|
-
new Button({
|
|
246
|
+
new Button(oScanDialog.getId() + '-btn_barcode_ok', {
|
|
247
247
|
text: "{i18n>BARCODE_DIALOG_OK}",
|
|
248
248
|
press: function(oEvent) {
|
|
249
249
|
BarcodeScanner.closeScanDialog();
|
|
@@ -303,7 +303,7 @@ sap.ui.define([
|
|
|
303
303
|
|
|
304
304
|
if (!oScanDialog || (oScanDialog && oScanDialog.getContent().length === 0)) {
|
|
305
305
|
oDialogModel = new JSONModel();
|
|
306
|
-
oScanDialog = new Dialog({
|
|
306
|
+
oScanDialog = new Dialog('sapNdcBarcodeScannerDialog', {
|
|
307
307
|
icon: 'sap-icon://bar-code',
|
|
308
308
|
title: "",
|
|
309
309
|
stretch: true,
|