mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Fix that editing an auth backend does not open the next column
This commit is contained in:
parent
bc950a855d
commit
4351603243
@ -1,4 +1,4 @@
|
|||||||
<form data-base-target="_self" id="<?= $form->getName(); ?>" name="<?= $form->getName(); ?>" enctype="<?= $form->getEncType(); ?>" method="<?= $form->getMethod(); ?>" action="<?= $form->getAction(); ?>">
|
<form id="<?= $form->getName(); ?>" name="<?= $form->getName(); ?>" enctype="<?= $form->getEncType(); ?>" method="<?= $form->getMethod(); ?>" action="<?= $form->getAction(); ?>">
|
||||||
<table class="action">
|
<table class="action">
|
||||||
<thead>
|
<thead>
|
||||||
<th>Backend</th>
|
<th>Backend</th>
|
||||||
@ -31,7 +31,7 @@
|
|||||||
)
|
)
|
||||||
); ?>
|
); ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td data-base-target="_self">
|
||||||
<?php if ($i > 0): ?>
|
<?php if ($i > 0): ?>
|
||||||
<button type="submit" name="backend_newpos" value="<?= sprintf(
|
<button type="submit" name="backend_newpos" value="<?= sprintf(
|
||||||
'%s|%s',
|
'%s|%s',
|
||||||
|
@ -233,7 +233,7 @@
|
|||||||
|
|
||||||
icinga.logger.debug('Submitting form: ' + method + ' ' + url, method);
|
icinga.logger.debug('Submitting form: ' + method + ' ' + url, method);
|
||||||
|
|
||||||
$target = self.getLinkTargetFor($form);
|
$target = self.getLinkTargetFor($button);
|
||||||
|
|
||||||
if (method === 'GET') {
|
if (method === 'GET') {
|
||||||
var dataObj = $form.serializeObject();
|
var dataObj = $form.serializeObject();
|
||||||
@ -558,8 +558,8 @@
|
|||||||
$(document).off('click', 'table.action tr[href]', this.rowSelected);
|
$(document).off('click', 'table.action tr[href]', this.rowSelected);
|
||||||
$(document).off('click', 'table.action tr a', this.rowSelected);
|
$(document).off('click', 'table.action tr a', this.rowSelected);
|
||||||
$(document).off('submit', 'form', this.submitForm);
|
$(document).off('submit', 'form', this.submitForm);
|
||||||
$(document).off('click', 'button', this.submitForm);
|
|
||||||
$(document).off('change', 'form select.autosubmit', this.submitForm);
|
$(document).off('change', 'form select.autosubmit', this.submitForm);
|
||||||
|
$(document).off('change', 'form input.autosubmit', this.submitForm);
|
||||||
},
|
},
|
||||||
|
|
||||||
destroy: function() {
|
destroy: function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user