ARAI#40504: notities niet altijd zichtbaar.
svn path=/Website/branches/v2017.1/; revision=33986
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user