fix (web form): Fixed link to doc form in form grid
This commit is contained in:
parent
53b97e0fd5
commit
fa4f88db07
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ export default function make_datatable(container, doctype) {
|
|||
.css({cursor: 'pointer'})
|
||||
.click((e) => {
|
||||
if ($(e.target).is('[type=checkbox]')) return
|
||||
window.location.href = window.location.href + '?name=' + data[i].name;
|
||||
window.location.href = window.location.origin + window.location.pathname + '?name=' + data[i].name;
|
||||
});
|
||||
for (let fieldname of colnames) {
|
||||
let val = data[i][fieldname];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue