Merge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX
This commit is contained in:
commit
bca35ff6b6
@ -124,7 +124,10 @@
|
||||
|
||||
function clickHandler(event, tableOptions) {
|
||||
event.preventDefault();
|
||||
var url = new URL(window.location.origin + window.location.pathname + getClickDestination(this));
|
||||
var url = getClickDestination(this);
|
||||
if (!url.match(/^http/)) {
|
||||
url = new URL(window.location.origin + window.location.pathname + getClickDestination(this));
|
||||
}
|
||||
updateTableFrom(url, tableOptions);
|
||||
}
|
||||
|
||||
|
||||
@ -31,10 +31,15 @@
|
||||
if (formElement.matches('.' + JS_INITIALIZED_CLASS)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var formIdElement = formElement.querySelector('[name="form-identifier"]');
|
||||
if (!formIdElement) {
|
||||
return;
|
||||
}
|
||||
|
||||
options = options || {};
|
||||
var tableIdent = options.dbtIdent;
|
||||
|
||||
var formId = formElement.querySelector('[name="form-identifier"]').value;
|
||||
var formId = formIdElement.value;
|
||||
var inputs = {
|
||||
search: [],
|
||||
input: [],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user