SYMPTOMS
How to disable the ability to press the "View document button" after it has been clicked to prevent the action to be called several times.
CAUSE
Not applicable.
RESOLUTION
Ensure to create a back up of the file resultlist.htm in .\Program Files (x86)\ZyLAB\Information Management Platform\WebServer Templates\....\default\html\
Open resultlist.htm and change:
$("tr#fkf_${RANKING}").on("click", "td > a", function () {
if ("ZyActionD" === EvaluateAction(defaultAction, 0${CanViewPDF? + 1}, 0${CanViewTIFF? + 1})) {
ShowProgressBar(true);
}
});
Into:
var lastClicked = null;
$("tr#fkf_${RANKING}").on("click", "td > a", function () {
lastClicked = "${RANKING}";
$("#fkf_${RANKING} td a").on("click", function (e) { return "${RANKING}" !== lastClicked; });
if ("ZyActionD" === EvaluateAction(defaultAction, 0${CanViewPDF? + 1}, 0${CanViewTIFF? + 1})) {
ShowProgressBar(true);
}
});
APPLIES TO
6.4
Comments
0 comments
Article is closed for comments.