Sorry to bother you with this. I still can't get my buttons to work in the child modal view since the Firefox upgrade.
I am using the Helper Library to create buttons in a "tablename-dv.js" file with the code below (which worked perfectly in Firefox v81!)
Code: Select all
//var dv = new AppGiniDetailView();
var actionbuttons = dv.actionbuttons;
var group = actionbuttons.addGroup("Accounts");
group.addButton("Create PO", function () {
var selectedID = $j('input[name=SelectedID]').val();
var supplierid = $j('#supplier').val();
var jobid = $j('#jobid').val();
var url_open = 'POrder.php?jobid=';
window.open(url_open + jobid + '&supplierid=' + supplierid + '&jobitemid=' + selectedID + '&clear_session=1');
});
I have to now go the relevant child table, open each individual child record in Detail view and click on the buttons from there (instead of just opening each child record in modal view from the parent record, as I used to do).
I thought it might be the "var selectedID" as Firefox is perhaps not reading the selectedID from the modal?
I was hoping you might have a quick fix for this, as I have no idea what has gone wrong!
Thank you for any pointers you can give me and have a lovely weekend