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

Commit 19a819f

Browse files
committed
Replace jQueryUI dialg by bootstrap modal
1 parent d0a49fa commit 19a819f

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
@@ -572,12 +572,12 @@ public function displayBtnToLinkissueGlpi($item) {
572572
echo "<tr class='tab_bg_1'>";
573573

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

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

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

0 commit comments

Comments
 (0)