fix for linting

This commit is contained in:
Dennis Eichhorn 2023-09-21 01:01:25 +00:00
parent 372ff0db11
commit 05683e9195
2 changed files with 9 additions and 8 deletions

View File

@ -949,7 +949,8 @@ export class Form
// Consider: It might make sense to do this in the Table.js??? Kinda depends on additional functionality together with the form probably.
}
// @todo: if input change check if iframe needs to be reloaded (if there is a iframe that is attached/part of the form e.g. media renderer based on currently selected element)
// @todo: if input change check if iframe needs to be reloaded (if there is a iframe that is attached/part of the form
// e.g. media renderer based on currently selected element)
// remote actions (maybe solvable with callbacks?):
// filter
@ -1098,7 +1099,7 @@ export class Form
request.setResultCallback(0, function (xhr)
{
window.omsApp.logger.log(xhr.response);
const headerLocation = xhr.getResponseHeader('location')
const headerLocation = xhr.getResponseHeader('location');
if (headerLocation !== null) {
window.location = headerLocation;

View File

@ -1,9 +1,9 @@
import { UriFactory } from '../Uri/UriFactory.js';
import { AdvancedInput } from './Component/AdvancedInput.js';
import { NotificationLevel } from '../Message/Notification/NotificationLevel.js';
import { NotificationMessage } from '../Message/Notification/NotificationMessage.js';
import { NotificationType } from '../Message/Notification/NotificationType.js';
//import { NotificationLevel } from '../Message/Notification/NotificationLevel.js';
//import { NotificationMessage } from '../Message/Notification/NotificationMessage.js';
//import { NotificationType } from '../Message/Notification/NotificationType.js';
/**
* UI manager for handling basic ui elements.
@ -160,7 +160,7 @@ export class GeneralUI
}
};
window.omsApp.notifyManager.send(message, NotificationType.APP_NOTIFICATION);
//window.omsApp.notifyManager.send(message, NotificationType.APP_NOTIFICATION);
} else {
document.documentElement.innerHTML = html;
@ -349,8 +349,8 @@ export class GeneralUI
const tagName = src.tagName.toLowerCase();
if (tagName === 'h1') {
src.innerHTML = jsOMS.htmlspecialchars_encode(value);
} else if (tagName === 'select') {
return;
/*} else if (tagName === 'select') {
return;*/
} else if (src.getAttribute('value') !== null) {
if (src.value === '') {
src.value = jsOMS.htmlspecialchars_decode(value);