FSN#36175 In MGT vaak doorklikken naar details

svn path=/Website/trunk/; revision=29111
This commit is contained in:
Jos Groot Lipman
2016-04-21 12:45:00 +00:00
parent c583ed4835
commit 5acf3ef5ec

View File

@@ -174,12 +174,12 @@ function scf_ROFIELDTR(model, fld, val, key, params)
var tbl = guesses[i]; var tbl = guesses[i];
if (!infoPointer && tbl) if (!infoPointer && tbl)
{ {
if (tbl.match(/[a-zA-Z0-9_]/)) // safety, anders fout bij appl\mgt\ins_srtkenmerk.asp?mode=show&id=21 if (tbl.match(/[^a-zA-Z0-9_]/)) // safety, anders fout bij appl\mgt\ins_srtkenmerk.asp?mode=show&id=21
{ continue;
var url = "appl/mgt/" + tbl + ".asp";
if (fso.FileExists(Server.MapPath("../../" + url))) var url = "appl/mgt/" + tbl + ".asp";
infoPointer = { Url: url + "?mode=wrap&id=" + txt.id }; if (fso.FileExists(Server.MapPath("../../" + url)))
} infoPointer = { Url: url + "?mode=wrap&id=" + txt.id };
} }
} }
} }