HSLE#40141 bijlage dropdown icm hamburger dropdown maken nu ook bij activeren elkaar 'hidden' zodat er maar 1 per x verschijnt
svn path=/Website/trunk/; revision=38197
This commit is contained in:
@@ -170,6 +170,13 @@ if (mld_key > 0)
|
||||
$('#notifyFE').prop('checked', false);
|
||||
}
|
||||
|
||||
function toggleDropdown()
|
||||
{
|
||||
$('li.byHamburger').toggleClass('hidden', true);
|
||||
$('li.byDropdown').toggleClass('hidden');
|
||||
FcltMgr.resized();
|
||||
}
|
||||
|
||||
var note_key = <%=note_key%>;
|
||||
$(function () {
|
||||
|
||||
@@ -292,7 +299,7 @@ if (mld_key > 0)
|
||||
if (kenmerk_key_arr.length == 1)
|
||||
buttons.push({ icon: "attach.png", title: L("lcl_appendixes"), action: "Upload()" });
|
||||
else if (kenmerk_key_arr.length > 1)
|
||||
buttons.push({ icon: "fa-chevron-down", title: L("lcl_appendixes"), action: "$('li.byDropdown').toggleClass('hidden');FcltMgr.resized();" });
|
||||
buttons.push({ icon: "fa-chevron-down", title: L("lcl_appendixes"), action: "toggleDropdown()" });
|
||||
|
||||
BLOCK_START("mldHistorie", (tracking?L("lcl_mld_behandeling"):L("lcl_mld_frame_notes")), { buttons: buttons });
|
||||
// what info to show? determined by mld_merge_notes_and_tracking
|
||||
|
||||
@@ -93,7 +93,7 @@ function CreateButtons(buttons, params)
|
||||
if (hambuttons.length)
|
||||
{
|
||||
var btn = { icon: "fa-bars", tooltip: L("lcl_more"), id: "printhamburger",
|
||||
action: "$('li.byHamburger').toggleClass('hidden');FcltMgr.resized();" }
|
||||
action: "$('li.byDropdown').toggleClass('hidden', true);$('li.byHamburger').toggleClass('hidden');FcltMgr.resized();" }
|
||||
CreateButton(null, btn.action, btn, params );
|
||||
|
||||
// z-index floating header = 10, so z-index hamburger = 11
|
||||
|
||||
Reference in New Issue
Block a user