FSN#36111 Vanuit showmode groep een knopje naar de rechten
svn path=/Website/trunk/; revision=29098
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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 });
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user