Page 1 of 1

Cant Open Widgets

Posted: September 15th, 2022, 6:01 pm
by CathyC
In EASYCommerce, on the work with accounts page, there is a link on each row "View All Users" which only shows if the account has users created under it.
WorkWithAccounts.png
ViewAllUsers Widget.png

In lists, the javascript that runs onclick is only defined once. Everything in that list attaches to the same function. That function is defined in the first row of the table.
If visible is set to false for that first row specifically, none of the other buttons for that table will work. So you need to set renderifnotvisible to True.
RenderIfNotVisible.png
This is because the "ViewAllUsers" button that opens the modal window is not visible on the first row because the first account doesn't have any users

So if it has a case where the table that shows all the accounts has the first record with no users, that button will hide and the javascript wont be put on the page so none can all it to open the windows.

This issue was found by Molly and Jeff

Re: Cant Open Widgets

Posted: September 16th, 2022, 9:07 am
by CathyC
I wanted to clarify that this is mainly an issue because it requires the developer to know how it works to use it. It isnt obvious it works that way so it looks like a bug that the window wont open sometimes

Re: Cant Open Widgets

Posted: July 24th, 2023, 4:23 pm
by CathyC
Task #11511 has been created for this issue