FSN#41943 Notities van Logcenter commit berichten standaard in klappen

svn path=/Website/trunk/; revision=35277
This commit is contained in:
Jos Groot Lipman
2017-09-12 12:35:23 +00:00
parent d3e317ff07
commit 8fcdf9a39f
2 changed files with 6 additions and 4 deletions

View File

@@ -309,9 +309,10 @@ var timestamp_notes = new Date();
if (!note_zichtbaarFE && !srtnoti)
edittm += "<i class='fa fa-lock fa-fw fa-lg' title='{0}'></i>".format(L("lcl_mld_verborgen_FE"));
if (safehtml.length > S("rs_maxchar") * 5)
var autocollapse = S("mld_note_autocollapse") && note_oms.match(new RegExp(S("mld_note_autocollapse")));
if (autocollapse || safehtml.length > S("rs_maxchar") * 5)
{
safehtml = "<div class='notetoggler'>{0}</div>".format(safehtml)
safehtml = "<div class='notetoggler {1}'>{0}</div>".format(safehtml, autocollapse?"autocollapse":"")
+ "<span class='notetoggler'>" + L("lcl_rs_truncated") + "</span>";
}
Response.Write("<tr class='mldhandlingdiv"+clsself+cls_tr+"'>"

View File

@@ -1561,7 +1561,6 @@ div.mldhandlinghead {
}
.mldhandlingnote {
font-style: italic;
}
#mldHistorie table {
border-collapse: separate;
@@ -1624,12 +1623,14 @@ div.notetoggler {
overflow-y:hidden;
overflow-x:hidden;
}
div.notetoggler,autocollapse {
max-height:18px;
}
div.notetoggler.open {
max-height:none;
}
.note_fe_hidden {
font-style: italic;
}
.note_fe_visible {