mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-04 20:18:41 +00:00
implement data-id element for editing same elements with different ids
This commit is contained in:
parent
c9580a9d43
commit
839f5ced3f
|
|
@ -770,6 +770,10 @@ export class Form
|
||||||
? document.querySelector(formElement.getAttribute('data-update-content'))
|
? document.querySelector(formElement.getAttribute('data-update-content'))
|
||||||
: formElement.querySelector(formElement.getAttribute('data-update-content'));
|
: formElement.querySelector(formElement.getAttribute('data-update-content'));
|
||||||
|
|
||||||
|
if (formElement.getAttribute('data-id') !== null) {
|
||||||
|
UriFactory.setQuery('$id', formElement.getAttribute('data-id'));
|
||||||
|
}
|
||||||
|
|
||||||
let values = [];
|
let values = [];
|
||||||
let text = [];
|
let text = [];
|
||||||
const newEle = [];
|
const newEle = [];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user