Skip to content

Commit c5499ad

Browse files
committed
fix: show FAQ without tabs for self-service
1 parent 54543cb commit c5499ad

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

js/scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ function buildTiles(list) {
396396
// Build a HTML tile
397397
var url = formcreatorRootDoc + '/front/formdisplay.php?id=' + item.id;
398398
if (item.type != 'form') {
399-
url = rootDoc + '/front/knowbaseitem.form.php?id=' + item.id;
399+
url = rootDoc + '/front/helpdesk.faq.php?id=' + item.id;
400400
}
401401

402402
var tiles_design = "";

setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ function plugin_formcreator_redirect() {
515515

516516
$pages = [
517517
'front/reservationitem.php' => FORMCREATOR_ROOTDOC . '/front/reservationitem.php',
518-
'front/helpdesk.faq.php' => FORMCREATOR_ROOTDOC . '/front/wizard.php',
518+
// 'front/helpdesk.faq.php' => FORMCREATOR_ROOTDOC . '/front/wizard.php',
519519
'front/ticket.php' => FORMCREATOR_ROOTDOC . '/front/issue.php',
520520
];
521521
foreach ($pages as $srcPage => $dstPage) {

0 commit comments

Comments
 (0)