Hello,
I have a simple button that I inserted with the "insert button" function in the visual editor. I put saveLink5.click(); in the "client before" and location.href = "xxxxxxxxxxxxxxx_list.php"; in the "Client after".
The page this button is on is opened in inline edit mode [this is in the java onload event - pageObj.inlineEdit.editAllRecs(); ]. Having the saveLink5.click(); as part of the button saves any changes, it also validates any required fields when it tries to save. After this the link to the next page kicks in....
Here's my issue
Up until recently the buttons were working fine, saving and then moving on. If there was a blank field that was required, the process stopped and did not move on to the next page. The user had to enter the required information and then click the "save and next" button again to save the information and them move on.
Now... the button is no longer saving and is skipping right to the client after function of moving to the next page. Just to test I put a timer in on the location.href command and that did allow the files to save, but it did not stop things from moving on.
I am guessing that as the database had grown there is a time delay that means the save click is no longer triggering before the location.href is triggering.
Any advice? I could make these seperate buttons, but then someone could just skip ahead with out saving. I really want the two together.
Thanks