mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 09:58:39 +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'))
|
||||
: formElement.querySelector(formElement.getAttribute('data-update-content'));
|
||||
|
||||
if (formElement.getAttribute('data-id') !== null) {
|
||||
UriFactory.setQuery('$id', formElement.getAttribute('data-id'));
|
||||
}
|
||||
|
||||
let values = [];
|
||||
let text = [];
|
||||
const newEle = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user