Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Commit 45dcd94

Browse files
committed
Replace jQueryUI dialg by bootstrap modal
1 parent 69aefd9 commit 45dcd94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

inc/mantis.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -567,12 +567,12 @@ public function displayBtnToLinkissueGlpi($item) {
567567
echo "<tr class='tab_bg_1'>";
568568

569569
echo "<td style='text-align: center;'>";
570-
echo "<input onclick='popupLinkGlpiIssuetoMantisIssue.dialog(\"open\");'
570+
echo "<input onclick='popupLinkGlpiIssuetoMantisIssue.show();'
571571
value='" . __('Link to an existing MantisBT issue', 'mantis') . "'
572572
class='submit' style='width : 200px;'></td>";
573573

574574
echo "<td style='text-align: center;'>";
575-
echo "<input onclick='popupLinkGlpiIssuetoMantisProject.dialog(\"open\");'
575+
echo "<input onclick='popupLinkGlpiIssuetoMantisProject.show();'
576576
value='" . __('Create a new MantisBT issue', 'mantis') . "'
577577
class='submit' style='width : 250px;'></td>";
578578

@@ -982,7 +982,7 @@ private function getFormForDisplayInfo($item, $itemType) {
982982
if ($can_write && !$neutralize_escalation) {
983983
echo "<td class = 'center'>";
984984
echo "<img src='" . $web_dir . "/pics/bin16.png'
985-
onclick='popupToDelete" . $row['id'] . ".dialog(\"open\")'
985+
onclick='popupToDelete" . $row['id'] . ".show()'
986986
style='cursor: pointer;' title='" . __('Delete') . "'/></td>";
987987
} else {
988988
echo "<td>-</td>";

0 commit comments

Comments
 (0)