Skip to content

Commit

Permalink
Fix server configuration action buttons (rebase header translation)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick243 authored and josaphatim committed Mar 26, 2024
1 parent a2a3321 commit 638ea46
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/imap/output_modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ protected function output() {
return '';
}

$res = '<div class="subtitle mt-4">Imap & JMAP Servers</div>';
$res = '<div class="subtitle mt-4 fw-bold">'.$this->trans('IMAP and JMAP Servers').'</div>';
foreach ($list as $index => $vals) {
$server_id = $vals['id'];
$type = 'IMAP';
Expand Down Expand Up @@ -509,7 +509,7 @@ protected function output() {
$res .= '<input type="submit" '.(!$hidden ? 'style="display: none;" ' : '').'value="'.$this->trans('Unhide').'" class="unhide_imap_connection btn btn-outline-secondary btn-sm me-2" />';

$res .= '<input type="hidden" value="ajax_imap_debug" name="hm_ajax_hook" />';
$res .= '</div></div></form>';
$res .= '</div></div></form></div>';
}
$res .= '';
return $res;
Expand Down
2 changes: 1 addition & 1 deletion modules/smtp/modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ protected function output() {
}
$res .= '<input type="hidden" value="ajax_smtp_debug" name="hm_ajax_hook" />';
}
$res .= '</div></div></form>';
$res .= '</div></div></form></div>';
}
return $res;
}
Expand Down
1 change: 0 additions & 1 deletion modules/smtp/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ var smtp_delete_action = function(event) {
Hm_Ajax.request(
form.serializeArray(),
function(res) {
Hm_Notices.show(res.router_user_msgs);
if (res.deleted_server_id) {
form.parent().fadeOutAndRemove()
Hm_Utils.set_unsaved_changes(1);
Expand Down

0 comments on commit 638ea46

Please sign in to comment.