webdna / commerce-admin-orders

Create a new commerce order from the admin
Other
9 stars 1 forks source link

Custom CP trigger error because of hard coded /admin trigger #2

Closed srosenbrand closed 5 years ago

srosenbrand commented 5 years ago

When using a custom CP trigger in the Craft general config file the 'New order' button throws an template not found error because of hardcoded /admin path.

In file: /vendor/kuriousagency/commerce-admin-orders/src/assetbundles/ordersnew/dist/js/Orders.js

Line 56: var $iframe = $('').appendTo($container);

samuelbirch commented 5 years ago

Fixed in version 2.2.9.

Moorst commented 5 years ago

Don't think it is fixed - I'm getting the same issue with 2.2.9.

I'm getting the modal which prompts you to choose a user, though when clicking continue the error is thrown;

image

samuelbirch commented 5 years ago

ok, thanks. We'll take a look.

samuelbirch commented 5 years ago

ok, this should be fixed with version 2.2.10