HSLE#57268 afgemeld rood bolletje wissen
svn path=/Website/branches/v2019.1/; revision=42380
This commit is contained in:
@@ -159,7 +159,7 @@ function note_save(mld_key, note, params)
|
||||
}
|
||||
}
|
||||
}
|
||||
else // niet zichtbaarFE, maar terugzetten naar backoffice?
|
||||
else if (!zichtbaarFE) // niet zichtbaarFE
|
||||
{
|
||||
if (!params.action2FE && (mld_info.actiecode & 1) != 1)
|
||||
{
|
||||
@@ -170,6 +170,15 @@ function note_save(mld_key, note, params)
|
||||
shared.trackaction("MLDA2B", mld_key);
|
||||
result.mustrefreshMLD = true;
|
||||
}
|
||||
|
||||
if ((mld_info.actiecode & 128) == 128)
|
||||
{ // Altijd attentie er af
|
||||
var sql = "UPDATE mld_melding"
|
||||
+ " SET mld_melding_actiecode = BITAND(mld_melding_actiecode, 255 - 128)"
|
||||
+ " WHERE mld_melding_key = " + mld_key;
|
||||
Oracle.Execute(sql);
|
||||
result.mustrefreshMLD = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -187,7 +187,7 @@ if (mld_key > 0)
|
||||
if (vis)
|
||||
$('#action2FE,#notifyFE').prop('checked', <%=S("mld_note_default_notifyFE")%> == 1);
|
||||
else
|
||||
$('#action2FE,#notifyFE').prop('checked', false);
|
||||
$('#action2FE,#notifyFE').prop('checked', (<%=actiebijaanvrager%> ? true : false));
|
||||
}
|
||||
|
||||
// Voor beide togglers geldt: als de actie bij de melder stond hoef je hem nergens over te notificeren (maar het mag wel)
|
||||
|
||||
@@ -338,7 +338,7 @@ if (pnode == "melding")
|
||||
if (vis)
|
||||
$('#action2FE,#notifyFE').prop('checked', <%=S("mld_note_default_notifyFE")%> == 1).checkboxradio("refresh");
|
||||
else
|
||||
$('#action2FE,#notifyFE').prop('checked', false).checkboxradio("refresh");
|
||||
$('#action2FE,#notifyFE').prop('checked', (<%=pnote.actiebijaanvrager%> ? true : false)).checkboxradio("refresh");
|
||||
}
|
||||
|
||||
function notiToggler(deze)
|
||||
|
||||
Reference in New Issue
Block a user