ARAI#40504: notities niet altijd zichtbaar.

svn path=/Website/branches/v2017.1/; revision=33986
This commit is contained in:
Maykel Geerdink
2017-05-24 07:25:08 +00:00
parent 23f693a14c
commit 4cf5a99698
2 changed files with 2 additions and 1 deletions

View File

@@ -3062,6 +3062,7 @@ mld = {setmeldingstatus:
// In de newstyle mode moet ik in ieder geval ook rechten hebben om de melding te kunnen zien.
mresult.canReadNotes = mresult.canWriteNotes || (S("mld_note_mode") == 2 && mresult.canReadAny);
mresult.haveOnlyFErights = (!mresult.canRead("WEB_MLDFOF") && !mresult.canRead("WEB_MLDBOF") && mresult.canFEread);
mresult.haveFOBOrights = mresult.canRead("WEB_MLDFOF") || mresult.canRead("WEB_MLDBOF");
mresult.canWriteFlags = mresult.canWrite("WEB_MLDBOF") || mresult.canWrite("WEB_MLDFOF"); // Kan ik flags aanpassen
// Op button niveau

View File

@@ -344,7 +344,7 @@ var timestamp_notes = new Date();
// Voeg eventueel weer toe wat er voor de reload als gevolg van upload bijlage stond.
note_oms = (tmp_note != "" ? tmp_note : note_oms);
if (!mfe.haveOnlyFErights || (mfe.haveOnlyFErights && mld_info.fenotes>0))
if ((!mfe.haveOnlyFErights && mfe.haveFOBOrights) || (mfe.haveOnlyFErights && mld_info.fenotes>0))
{
if (note_key < 0)
{