mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-14 00:18:40 +00:00
fix linting bugs
This commit is contained in:
parent
05683e9195
commit
d69d1e20f4
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
import { UriFactory } from '../Uri/UriFactory.js';
|
import { UriFactory } from '../Uri/UriFactory.js';
|
||||||
import { AdvancedInput } from './Component/AdvancedInput.js';
|
import { AdvancedInput } from './Component/AdvancedInput.js';
|
||||||
//import { NotificationLevel } from '../Message/Notification/NotificationLevel.js';
|
// import { NotificationLevel } from '../Message/Notification/NotificationLevel.js';
|
||||||
//import { NotificationMessage } from '../Message/Notification/NotificationMessage.js';
|
// import { NotificationMessage } from '../Message/Notification/NotificationMessage.js';
|
||||||
//import { NotificationType } from '../Message/Notification/NotificationType.js';
|
// import { NotificationType } from '../Message/Notification/NotificationType.js';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UI manager for handling basic ui elements.
|
* UI manager for handling basic ui elements.
|
||||||
|
|
@ -349,8 +349,6 @@ export class GeneralUI
|
||||||
const tagName = src.tagName.toLowerCase();
|
const tagName = src.tagName.toLowerCase();
|
||||||
if (tagName === 'h1') {
|
if (tagName === 'h1') {
|
||||||
src.innerHTML = jsOMS.htmlspecialchars_encode(value);
|
src.innerHTML = jsOMS.htmlspecialchars_encode(value);
|
||||||
/*} else if (tagName === 'select') {
|
|
||||||
return;*/
|
|
||||||
} else if (src.getAttribute('value') !== null) {
|
} else if (src.getAttribute('value') !== null) {
|
||||||
if (src.value === '') {
|
if (src.value === '') {
|
||||||
src.value = jsOMS.htmlspecialchars_decode(value);
|
src.value = jsOMS.htmlspecialchars_decode(value);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user