[gen] BPX bugfixes.
This commit is contained in:
parent
7f88c7cca8
commit
383af4a687
5 changed files with 22 additions and 19 deletions
|
@ -483,6 +483,18 @@ function generatePodDocument(contextUid, fieldName, podFormat, queryData,
|
|||
}
|
||||
theForm.submit();
|
||||
}
|
||||
|
||||
function protectAppyForm() {
|
||||
window.onbeforeunload = function(e){
|
||||
theForm = document.getElementById("appyForm");
|
||||
if (theForm.button.value == "") {
|
||||
var e = e || window.event;
|
||||
if (e) {e.returnValue = warn_leave_form;}
|
||||
return warn_leave_form;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Functions for opening and closing a popup
|
||||
function openPopup(popupId, msg) {
|
||||
// Put the message into the popup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue