FCLT#85970 De releasekalender als knop

svn path=/Website/trunk/; revision=67341
This commit is contained in:
Peter Feij
2024-12-09 15:14:25 +00:00
parent e86fd45792
commit a04b2d38d3
2 changed files with 22 additions and 1 deletions

View File

@@ -9,10 +9,12 @@
*/ */
%> %>
<!-- #include file="../scf/scaffolding.inc" --> <!-- #include file="../scf/scaffolding.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../api2/model_mld_melding_tag.inc" --> <!-- #include file="../api2/model_mld_melding_tag.inc" -->
<% <%
var this_model = new model_mld_melding_tag(); var this_model = new model_mld_melding_tag();
scaffolding(this_model, scaffolding(this_model,
{ {
"search": { "search": {
@@ -36,7 +38,16 @@ scaffolding(this_model,
"begindate", "begindate",
"enddate", "enddate",
"id" "id"
] ],
"requires": {
"js": ["./mld_melding_tag.js"]
},
"buttons": [
{
"title": L("lcl_calendar"),
"action": "show_tagcalendar('"+safe.jsstring(L("lcl_melding_tag_calendar"))+"')",
"icon": "fa-calendar-alt"
}]
}, },
"edit": { "edit": {
"modal": true "modal": true

View File

@@ -0,0 +1,10 @@
/*
$Revision$
$Id$
*/
function show_tagcalendar(ttl) {
var url = "appl/shared/fullcalendar.asp?worker=mldtag";
FcltMgr.openDetail(url, ttl);
}