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) {
|
function clickHandler(event, tableOptions) {
|
||||||
event.preventDefault();
|
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);
|
updateTableFrom(url, tableOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,10 +31,15 @@
|
|||||||
if (formElement.matches('.' + JS_INITIALIZED_CLASS)) {
|
if (formElement.matches('.' + JS_INITIALIZED_CLASS)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var formIdElement = formElement.querySelector('[name="form-identifier"]');
|
||||||
|
if (!formIdElement) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
options = options || {};
|
options = options || {};
|
||||||
var tableIdent = options.dbtIdent;
|
var tableIdent = options.dbtIdent;
|
||||||
|
var formId = formIdElement.value;
|
||||||
var formId = formElement.querySelector('[name="form-identifier"]').value;
|
|
||||||
var inputs = {
|
var inputs = {
|
||||||
search: [],
|
search: [],
|
||||||
input: [],
|
input: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user