Skip to content

Commit

Permalink
Issue magento#24842: Unable to delete custom option file in admin ord…
Browse files Browse the repository at this point in the history
…er create

Fix inputBox selector to match html structure
  • Loading branch information
adrian-martinez-interactiv4 committed Oct 3, 2019
1 parent 419fbf3 commit 504dd91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ require(['prototype'], function(){
initializeFile: function(inputBox) {
this.inputFile = inputBox.select('input[name="<?= /* @noEscape */ $_fileName ?>"]')[0];
this.inputFileAction = inputBox.select('input[name="<?= /* @noEscape */ $_fieldNameAction ?>"]')[0];
this.fileNameBox = inputBox.up('dd').select('.<?= /* @noEscape */ $_fileNamed ?>')[0];
this.fileNameBox = inputBox.up('div').select('.<?= /* @noEscape */ $_fileNamed ?>')[0];
},

toggleFileChange: function(inputBox) {
Expand Down

0 comments on commit 504dd91

Please sign in to comment.