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">
|
||||
<thead>
|
||||
<th>Backend</th>
|
||||
|
@ -31,7 +31,7 @@
|
|||
)
|
||||
); ?>
|
||||
</td>
|
||||
<td>
|
||||
<td data-base-target="_self">
|
||||
<?php if ($i > 0): ?>
|
||||
<button type="submit" name="backend_newpos" value="<?= sprintf(
|
||||
'%s|%s',
|
||||
|
|
|
@ -233,7 +233,7 @@
|
|||
|
||||
icinga.logger.debug('Submitting form: ' + method + ' ' + url, method);
|
||||
|
||||
$target = self.getLinkTargetFor($form);
|
||||
$target = self.getLinkTargetFor($button);
|
||||
|
||||
if (method === 'GET') {
|
||||
var dataObj = $form.serializeObject();
|
||||
|
@ -558,8 +558,8 @@
|
|||
$(document).off('click', 'table.action tr[href]', this.rowSelected);
|
||||
$(document).off('click', 'table.action tr a', this.rowSelected);
|
||||
$(document).off('submit', 'form', this.submitForm);
|
||||
$(document).off('click', 'button', this.submitForm);
|
||||
$(document).off('change', 'form select.autosubmit', this.submitForm);
|
||||
$(document).off('change', 'form input.autosubmit', this.submitForm);
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
|
|
Loading…
Reference in New Issue