Cant Open Widgets
Posted: September 15th, 2022, 6:01 pm
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.
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.
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
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.
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