Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function OpenAddMaster(mdbid, item, fid) {
- AM_window = (window.open(mdbid + "?a=GenNewRecord&bg=1", "_blank", "width=740,height=415,scrollbars,resizable"));
- if (!AM_window || AM_window.closed) {
- return
- }
- masterDBID = mdbid;
- detailRPfids = fid;
- if (item == null) {
- dsel = theRPselect;
- dselIsRecordPicker = true
- } else {
- dsel = item;
- dsel.selectedIndex = 0;
- dselIsRecordPicker = false
- }
- AM_window.focus();
- window.setTimeout(UpdateDetailPage, 50)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement