code added
Dieser Commit ist enthalten in:
@@ -0,0 +1,22 @@
|
|||||||
|
import { getCookie } from "./cookiehelper.js";
|
||||||
|
import { initListIndex } from "./list.index.js";
|
||||||
|
|
||||||
|
initListIndex();
|
||||||
|
|
||||||
|
$('#detailBtn').click(function () {
|
||||||
|
$('.bdy-ul').addClass('d-none');
|
||||||
|
// Unibase.Themes.Compact.Components.Notification.Instance().loadReminderDetails(105013010001972,105010260000090,'Details','null',6,0,null)
|
||||||
|
const cookie = getCookie('_idty');
|
||||||
|
if (cookie) {
|
||||||
|
const {
|
||||||
|
unibaseId,
|
||||||
|
tenantId,
|
||||||
|
userId
|
||||||
|
} = JSON.parse(cookie);
|
||||||
|
debugger;
|
||||||
|
$('#detailIframe').html(
|
||||||
|
`<iframe width="100%" style="min-height:746px" name="srcframe" id="srcframe" class="srcframe" src="http://localhost:1188/#/${unibaseId}/${tenantId}/${userId}/106457720000011/100010270000325/loadDetail"></iframe>`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
import { isAuthenticated } from "./cookiehelper.js";
|
||||||
|
|
||||||
|
function checkUser(params) {
|
||||||
|
if (isAuthenticated()) {
|
||||||
|
window.location = './authentication';
|
||||||
|
} else {
|
||||||
|
window.location = './login';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
checkUser();
|
||||||
In neuem Issue referenzieren
Einen Benutzer sperren