v1.8.1 stage D button save & close unnecessary bugfix

This commit is contained in:
2026-07-10 18:26:44 -03:00
parent 269964d4cc
commit 2d3c716852
7 changed files with 2 additions and 99 deletions

View File

@@ -57,9 +57,6 @@
<?= $this->form->checkbox('organon_tweaks_title_click_edit', t('Clicking a task title opens the edit form'), 1, isset($values['organon_tweaks_title_click_edit']) && $values['organon_tweaks_title_click_edit'] == 1) ?>
<p class="form-help"><?= t('On the board and the card view, click the title to open the edit modal (only where you may edit).') ?></p>
<?= $this->form->checkbox('organon_tweaks_save_close_button', t('Add a "Save & Close" button to the task edit form'), 1, isset($values['organon_tweaks_save_close_button']) && $values['organon_tweaks_save_close_button'] == 1) ?>
<p class="form-help"><?= t('Saves the task and returns to the board, instead of reopening the card view.') ?></p>
</fieldset>
<div class="form-actions">

View File

@@ -1,8 +0,0 @@
<?php $task_id = isset($values['id']) ? (int) $values['id'] : 0 ?>
<?php if ($task_id > 0): ?>
<button type="button" class="btn"
data-organon-save-close="1"
data-url="<?= $this->url->href('TaskSaveCloseController', 'update', array('plugin' => 'OrganonTweaks', 'task_id' => $task_id)) ?>">
<?= t('Save & Close') ?>
</button>
<?php endif ?>