FSN#36111 Vanuit showmode groep een knopje naar de rechten

svn path=/Website/trunk/; revision=29098
This commit is contained in:
Jos Groot Lipman
2016-04-21 08:42:25 +00:00
parent 5969d23551
commit b451c6ce16
2 changed files with 14 additions and 2 deletions

View File

@@ -58,6 +58,11 @@
"edit":{
"modal": false // Anders kom je niet in het detailscherm om personen toe te voegen
},
"show":{
"requires": {
js: ["./fac_groep.js"]
}
},
"transit": {
"fac_functie": functie_key,
"ins_discipline" : disc_key,
@@ -68,6 +73,7 @@
{
scf_params.search.autosearch = true;
scf_params.list.columns.push("substitutes");
scf_params.show.buttons = [{ title: L("fac_groeprechten"), action: "open_rechten", icon: "autorisatie.png" }]
}
else
{

View File

@@ -27,7 +27,13 @@ function edit_rechten(row)
}
else // eerst nog een functie erbij kiezen
{
var url = "appl/mgt/fac_functie.asp?fac_groep=" + groep_key;
FcltMgr.openDetail(url, { reuse: true });
open_rechten(groep_key);
}
}
function open_rechten(groep_key)
{
var url = "appl/mgt/fac_functie.asp?fac_groep=" + groep_key;
FcltMgr.openDetail(url, { reuse: true });
}