Cant Open Widgets

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

Cant Open Widgets

Unread post 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
word count: 167

Tags:
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

Re: Cant Open Widgets

Unread post 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
word count: 42
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

Re: Cant Open Widgets

Unread post by CathyC »

Task #11511 has been created for this issue
word count: 8
Post Reply