Skip to content

Commit d9cc699

Browse files
Pavitra KhatriPavitra Khatri
authored andcommitted
Remove function calling
1 parent 0aa8ec6 commit d9cc699

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ui.frontend/src/view/FormFileInputWidgetBase.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,6 @@ class FormFileInputWidgetBase {
481481

482482
// if the file is not invalid, show it and push it to internal array
483483
if (!isCurrentInvalidFileSize && !isCurrentInvalidFileName && !isCurrentInvalidMimeType) {
484-
this.showFileList(currFileName, file.size);
485484
if(this.isMultiSelect()) {
486485
this.values.push(currFileName);
487486
this.fileArr.push(file);

ui.tests/test-module/specs/fileinput/fileinputv3.runtime.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ describe('Click on button tag (V-3)', () => {
251251

252252
it('file when uploaded again should give actual size', () => {
253253
let sampleFileNames = ['sample.svg'];
254-
const fileInput = "input[name='fileinput1']";
254+
const fileInput = "input[name='fileinput2']";
255255
cy.attachFile(fileInput, [sampleFileNames[0]]);
256256
cy.get('.cmp-adaptiveform-fileinput__filesize').should('contain.text', '508 bytes');
257257
cy.attachFile(fileInput, [sampleFileNames[0]]);

0 commit comments

Comments
 (0)