FSN#36083 Tijdens/na SCF modal onderliggende record highlighten
svn path=/Website/trunk/; revision=28965
This commit is contained in:
@@ -119,7 +119,7 @@ for (var i = 0; i < disc_arr_key.length; i++)
|
||||
}
|
||||
}
|
||||
}
|
||||
var result = {success: true, key: disc_arr_key.join(",") };
|
||||
var result = {success: true, functie_key: functie_key, groep_key: groep_key, disc_key: disc_arr_key.join(",") };
|
||||
|
||||
Response.Write(JSON.stringify(result));
|
||||
Response.End;
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
$Id$
|
||||
*/
|
||||
|
||||
function scf_reload (json, b, c)
|
||||
function functie_reload (json)
|
||||
{
|
||||
FcltMgr.reload("scf_highlight=" + json.key);
|
||||
FcltMgr.reload("scf_highlight=" + json.functie_key);
|
||||
}
|
||||
|
||||
function edit_rechten(row)
|
||||
@@ -23,7 +23,7 @@ function edit_rechten(row)
|
||||
$("#fac_functie tbody tr").removeClass("updated editing");
|
||||
$(row).addClass('editing');
|
||||
var url = "fac_edit_groeprechten.asp?fac_groep={0}&fac_functie={1}".format(window.groep_key, functie_key);
|
||||
FcltMgr.openModalDetail(url, L("fac_groeprechten"), { callback: scf_reload });
|
||||
FcltMgr.openModalDetail(url, L("fac_groeprechten"), { callback: functie_reload });
|
||||
}
|
||||
else // eerst nog een groep erbij kiezen
|
||||
{
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
$Id$
|
||||
*/
|
||||
|
||||
function scf_reload (json, b, c)
|
||||
function groep_reload (json)
|
||||
{
|
||||
FcltMgr.reload("scf_highlight=" + json.key);
|
||||
FcltMgr.reload("scf_highlight=" + json.groep_key);
|
||||
}
|
||||
|
||||
function edit_rechten(row)
|
||||
@@ -23,7 +23,7 @@ function edit_rechten(row)
|
||||
$("#fac_groep tbody tr").removeClass("updated editing");
|
||||
$(row).addClass('editing');
|
||||
var url = "fac_edit_groeprechten.asp?fac_groep={0}&fac_functie={1}&ins_discipline={2}".format(groep_key, window.functie_key, window.disc_key);
|
||||
FcltMgr.openModalDetail(url, L("fac_groeprechten"), { callback: scf_reload });
|
||||
FcltMgr.openModalDetail(url, L("fac_groeprechten"), { callback: groep_reload });
|
||||
}
|
||||
else // eerst nog een functie erbij kiezen
|
||||
{
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
$Id$
|
||||
*/
|
||||
|
||||
function scf_reload (json, b, c)
|
||||
function disc_reload (json)
|
||||
{
|
||||
FcltMgr.reload("scf_highlight=" + json.key);
|
||||
FcltMgr.reload("scf_highlight=" + json.disc_key);
|
||||
}
|
||||
|
||||
function edit_rechten(row)
|
||||
@@ -20,7 +20,7 @@ function edit_rechten(row)
|
||||
$("#ins_tab_discipline tbody tr").removeClass("updated editing");
|
||||
$(row).addClass('editing');
|
||||
var url = "fac_edit_groeprechten.asp?fac_groep={0}&fac_functie={1}&ins_discipline={2}".format(window.groep_key, window.functie_key, discKeyString||disc_key);
|
||||
FcltMgr.openModalDetail(url, L("fac_groeprechten"), { callback: scf_reload });
|
||||
FcltMgr.openModalDetail(url, L("fac_groeprechten"), { callback: disc_reload });
|
||||
}
|
||||
else if (window.functie_key > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user