FSN#35094 icons ook in mobilemenu, moeten dus ook in te vullen zijn + TODO

svn path=/Website/trunk/; revision=32121
This commit is contained in:
Peter Feij
2016-12-22 14:25:30 +00:00
parent 35b40f2d1a
commit 419d89302d

View File

@@ -275,8 +275,9 @@ function fncolGroep(oRsvalue)
<body id="editbody"> <body id="editbody">
<% <%
var buttons = []; var buttons = [];
buttons.push({ title: L("lcl_photos"), action: "edit_image()", icon: "folder.png" });
buttons.push({title: L("lcl_submit"), icon: "opslaan.png", action: "doSubmit()" }); buttons.push({title: L("lcl_submit"), icon: "opslaan.png", action: "doSubmit()" });
buttons.push({ title: L("lcl_image"), icon: "fa-upload", action: "edit_image()"});
buttons.push({title: L("lcl_cancel"), icon: "undo.png", action: "doCancel()" }); buttons.push({title: L("lcl_cancel"), icon: "undo.png", action: "doCancel()" });
IFRAMER_HEADER(L("lcl_fac_menuoptie"), buttons); IFRAMER_HEADER(L("lcl_fac_menuoptie"), buttons);
@@ -426,6 +427,10 @@ function fncolGroep(oRsvalue)
urlparams = { readonly: 1 }; urlparams = { readonly: 1 };
var alturl_req = ((menu_key == -1 || menuitem_key == -1) && !fac_mlevel ? " required" : "") var alturl_req = ((menu_key == -1 || menuitem_key == -1) && !fac_mlevel ? " required" : "")
RWFIELDTR("alturl", "fld" + alturl_req , L("lcl_menu_fac_url"), fac_malturl, urlparams); RWFIELDTR("alturl", "fld" + alturl_req , L("lcl_menu_fac_url"), fac_malturl, urlparams);
// een icon zou geen flexfile zijn, kan dus ook wat anders kiezen Hoe netjes? TODO
RWFIELDTR("image", "fld", L("lcl_image")+" (icon)", fac_mimage);
FCLTflexfileselector("image", FCLTflexfileselector("image",
"sgFile", "sgFile",
{ {