FSN#36083 Tijdens/na SCF modal onderliggende record highlighten

svn path=/Website/trunk/; revision=28946
This commit is contained in:
Jos Groot Lipman
2016-04-14 12:45:28 +00:00
parent 2e6e427437
commit 28298e987c
9 changed files with 23 additions and 2 deletions

View File

@@ -20,6 +20,8 @@ function edit_rechten(row)
}
else if (window.groep_key > 0)
{
$("#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 });
}

View File

@@ -20,6 +20,8 @@ function edit_rechten(row)
}
else if (window.functie_key > 0)
{
$("#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 });
}

View File

@@ -17,6 +17,8 @@ function edit_rechten(row)
if (window.functie_key > 0 && window.groep_key)
{
$("#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 });
}

View File

@@ -28,6 +28,9 @@ scaffolding(this_model,
"name",
"description"
]
},
"edit":{
"modal": true
}
});
%>

View File

@@ -29,6 +29,9 @@ scaffolding(this_model,
"name",
"description"
]
},
"edit":{
"modal": true
}
});
%>

View File

@@ -29,6 +29,9 @@ scaffolding(this_model,
"description",
"expenses"
]
},
"edit":{
"modal": true
}
});
%>

View File

@@ -34,6 +34,9 @@ scaffolding(this_model,
"costunit",
"expences"
]
},
"edit":{
"modal": true
}
});
%>

View File

@@ -28,6 +28,9 @@ scaffolding(this_model,
"name",
"description"
]
},
"edit":{
"modal": true
}
});
%>

View File

@@ -79,8 +79,8 @@ function scaffolding_list(model, scf_params)
var key = row.getAttribute("ROWKEY");
var url = "<%= default_url %>".format(key);
<% if (modal) { %>
$("#<%=model.table%> tbody tr").removeClass("updated")
$(row).addClass('updated');
$("#<%=model.table%> tbody tr").removeClass("editing updated")
$(row).addClass('editing');
FcltMgr.openModalDetail(url, "<%=safe.jsstring(model.record_title)%>", { callback: scf_reload });
<% } else { %>
$(row).addClass('dirty');