FSN#36083 Tijdens/na SCF modal onderliggende record highlighten
svn path=/Website/trunk/; revision=28946
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
@@ -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 });
|
||||
}
|
||||
|
||||
@@ -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 });
|
||||
}
|
||||
|
||||
@@ -28,6 +28,9 @@ scaffolding(this_model,
|
||||
"name",
|
||||
"description"
|
||||
]
|
||||
},
|
||||
"edit":{
|
||||
"modal": true
|
||||
}
|
||||
});
|
||||
%>
|
||||
@@ -29,6 +29,9 @@ scaffolding(this_model,
|
||||
"name",
|
||||
"description"
|
||||
]
|
||||
},
|
||||
"edit":{
|
||||
"modal": true
|
||||
}
|
||||
});
|
||||
%>
|
||||
@@ -29,6 +29,9 @@ scaffolding(this_model,
|
||||
"description",
|
||||
"expenses"
|
||||
]
|
||||
},
|
||||
"edit":{
|
||||
"modal": true
|
||||
}
|
||||
});
|
||||
%>
|
||||
@@ -34,6 +34,9 @@ scaffolding(this_model,
|
||||
"costunit",
|
||||
"expences"
|
||||
]
|
||||
},
|
||||
"edit":{
|
||||
"modal": true
|
||||
}
|
||||
});
|
||||
%>
|
||||
@@ -28,6 +28,9 @@ scaffolding(this_model,
|
||||
"name",
|
||||
"description"
|
||||
]
|
||||
},
|
||||
"edit":{
|
||||
"modal": true
|
||||
}
|
||||
});
|
||||
%>
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user