events.js: Also accept `$autoSubmittedBy` from `event.detail`
This commit is contained in:
parent
3e29fba052
commit
e346c1c88c
|
@ -237,6 +237,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! $autoSubmittedBy && event.detail && event.detail.submittedBy) {
|
||||||
|
$autoSubmittedBy = $(event.detail.submittedBy);
|
||||||
|
}
|
||||||
|
|
||||||
_this.icinga.loader.submitForm($form, $autoSubmittedBy, $button);
|
_this.icinga.loader.submitForm($form, $autoSubmittedBy, $button);
|
||||||
|
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|
Loading…
Reference in New Issue