WebVella/WebVella-ERP

SDK PlugIn: Delete Entity confirm('Are you sure?') still deletes the entity when Cancel selected

Closed this issue · 2 comments

When clicking Delete Entity in the SDK, a javascript Are you sure? confirm appears.

If you click Cancel, it still deletes the entity!

I looked into the code and couldn't find the offending line number or else I would have just fixed it. Following is a screenshot from the chrome developer tools. The onclick doesn't seem to use preventDefault or return false if Cancel is clicked..

image

Fixed. Get the new package -> WebVella.Erp.Plugins.SDK.1.1.0

Thanks @bzashev