0

I want to extend: vendor/magento/module-catalog/view/adminhtml/web/js/edit-tree.js

Which is loaded by layout: vendor/magento/module-catalog/view/adminhtml/layout/catalog_category_edit.xml:12

enter image description here

Why I want to expand this javascript? To put a password input.

enter image description here

I tried to override using requirejs-config.js, but doesn't work.

enter image description here

What should I do? What methods are there to put an input on this confirm modal?

0

[SOLVED]

I have overwritten layout: app/code/Vendor/MyModule/view/adminhtml/layout/catalog_category_edit.xml

enter image description here

And I added app/code/Vendor/MyModule/view/adminhtml/web/js/edit-tree.js.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.