mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Migrated project, transfer and quote edit to the new AJAX modal function
This commit is contained in:
@@ -197,7 +197,11 @@ if (isset($_GET['project_id'])) {
|
||||
</button>
|
||||
<div class="dropdown-menu">
|
||||
<?php if (empty($project_completed_at)) { ?>
|
||||
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#editProjectModal<?php echo $project_id; ?>">
|
||||
<a class="dropdown-item" href="#"
|
||||
data-toggle = "ajax-modal"
|
||||
data-ajax-url = "ajax/ajax_project_edit.php"
|
||||
data-ajax-id = "<?php echo $project_id; ?>"
|
||||
>
|
||||
<i class="fas fa-fw fa-edit mr-2"></i>Edit
|
||||
</a>
|
||||
<?php } ?>
|
||||
@@ -406,7 +410,6 @@ if (isset($_GET['project_id'])) {
|
||||
|
||||
<?php
|
||||
|
||||
require_once "modals/project_edit_modal.php";
|
||||
require_once "modals/project_ticket_add_modal.php";
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user