AAFM#34758 Berichtenfunctie vanuit meldingen inrichten
svn path=/Website/trunk/; revision=28958
This commit is contained in:
@@ -58,11 +58,16 @@ var afgehandeld = (mld_info.mld_status == 1 || mld_info.mld_status == 5 || mld_i
|
||||
}
|
||||
function note_submit()
|
||||
{
|
||||
// alert("DD");
|
||||
// return false;
|
||||
if ($("#note").val().trim() != "")
|
||||
{
|
||||
var url = $("form[name=u2]")[0].action;
|
||||
$.post($("form[name=u2]")[0].action,
|
||||
$("[name=u2]").serialize(),
|
||||
FcltCallbackAndThen(note_submit_callback),
|
||||
"json");
|
||||
}
|
||||
return true; // disabled button ook
|
||||
}
|
||||
function note_submit_callback(json)
|
||||
|
||||
@@ -207,6 +207,8 @@ function bestandenlijstALL(pmodule, pniveau, pkey)
|
||||
if (pcode == "ORDMAI")
|
||||
var save_note_url = "../mld/opdr_edit_note_save.asp?opdr_key=" + pkey;
|
||||
%>
|
||||
if (($("#notes").val()).trim() != "")
|
||||
{
|
||||
var data = { note: $("#notes").val(),
|
||||
zichtbaarFE: ($("#zichtbaarFE").prop("checked") ? "on" : "off")
|
||||
};
|
||||
@@ -216,6 +218,14 @@ function bestandenlijstALL(pmodule, pniveau, pkey)
|
||||
FcltCallbackAndThenAlways(queueSubmitCallback),
|
||||
"json");
|
||||
return true; // disable button
|
||||
}
|
||||
else
|
||||
{
|
||||
var data = { success: true,
|
||||
note_key: <%=xkey %>
|
||||
};
|
||||
queueSubmitCallback(data);
|
||||
}
|
||||
<%
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user