PCHD#35087 Waarschuwing bij gelijktijdig editen notities
svn path=/Website/trunk/; revision=29625
This commit is contained in:
@@ -255,7 +255,7 @@ var sql = "";
|
|||||||
var url = $("form[name=note_edit]")[0].action + "¬e_key="+$("#note_key").val();
|
var url = $("form[name=note_edit]")[0].action + "¬e_key="+$("#note_key").val();
|
||||||
$.post(url,
|
$.post(url,
|
||||||
$("form[name=note_edit]").serialize(),
|
$("form[name=note_edit]").serialize(),
|
||||||
note_submit_callback,
|
McltCallbackAndThen(note_submit_callback),
|
||||||
"json");
|
"json");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -263,8 +263,6 @@ var sql = "";
|
|||||||
{
|
{
|
||||||
if (data.success)
|
if (data.success)
|
||||||
{
|
{
|
||||||
if (data.warning)
|
|
||||||
alert(data.warning);
|
|
||||||
jqToast(L("lcl_mobile_data_saved"));
|
jqToast(L("lcl_mobile_data_saved"));
|
||||||
window.location.href = "<%=back_reference()%>";
|
window.location.href = "<%=back_reference()%>";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user