BEFORE - What was wrong? What was happening before this PR?
Reported in #548
We had disabled dropzone in ProductCrudController but we left an instance of Dropzone "functional" in Monster.
I decided to no use the disabledInProduction macro as we did in Product because we didn't disabled the other upload fields in Monster. Instead I return an error from the controller.
I added the same return in our ProductCrudController in case the user is sneaky and remove the disabled attribute.
WHY
BEFORE - What was wrong? What was happening before this PR?
Reported in #548
We had disabled dropzone in
ProductCrudController
but we left an instance of Dropzone "functional" in Monster.I decided to no use the
disabledInProduction
macro as we did in Product because we didn't disabled the other upload fields in Monster. Instead I return an error from the controller.I added the same return in our ProductCrudController in case the user is sneaky and remove the
disabled
attribute.