FSN#44507: (PDA) Bijlagen toevoegen herzien

svn path=/Website/branches/v2017.2/; revision=35669
This commit is contained in:
Jos Groot Lipman
2017-10-12 14:05:09 +00:00
parent 3b1a92d842
commit cefc226e88

View File

@@ -285,7 +285,7 @@ function listKenmerk(sql, module, key, props)
"RES": "reservations" "RES": "reservations"
}[module] // niveau }[module] // niveau
if (api2name && typeof api2name == 'object') if (api2name && typeof api2name == 'object')
api2name = api2name[props.kenmerk_module || props.niveau]; // kenmerk_module voor ALG, niveau voor INS api2name = api2name[props.kenmerk_module || props.niveau || "D"]; // kenmerk_module voor ALG, niveau voor INS
if (!api2name) if (!api2name)
{ {
__DoLog(props); __DoLog(props);
@@ -915,8 +915,8 @@ function listKenmerk(sql, module, key, props)
for (var i = 0; i < lijst.length; i++) for (var i = 0; i < lijst.length; i++)
{ {
var href = HTTP.urlzelfnoroot() + protectQS.create(OpenFlexFile(module, niveau, key, kkey, lijst[i])); var href = HTTP.urlzelfnoroot() + protectQS.create(OpenFlexFile(module, niveau, key, kkey, lijst[i]));
var html = '<a class="details fldflexM"' var html = '<a class="details fldflexM" data-role="button"'
+ ' href=\'' + safe.jsstring(href) + '\'" target="_blank">' + safe.html(lijst[i]) + '</a>'; + ' href=\'' + safe.htmlattr(href) + '\'" target="_blank" data-ajax="false">' + safe.html(lijst[i]) + '</a>';
filehtmlarr.push(html); filehtmlarr.push(html);
} }
var kv = filehtmlarr.join("</br>"); var kv = filehtmlarr.join("</br>");