MoK: die Funktion clacChPwPrepend in _Layout.cshtml verschoben.
This commit is contained in:
@@ -313,24 +313,7 @@
|
||||
showErrorPopup(error);
|
||||
}
|
||||
});
|
||||
|
||||
var initialPwPrependWidth = 0;
|
||||
function calcChPwPrepend() {
|
||||
try {
|
||||
if (initialPwPrependWidth <= 0 && $.isNumeric(getMaxWidth("pw-prepend"))) {
|
||||
initialPwPrependWidth = getMaxWidth("pw-prepend");
|
||||
}
|
||||
|
||||
if (initialPwPrependWidth <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
$(".pw-prepend").width(getMaxWidth("pw-prepend"));
|
||||
} catch(error) {
|
||||
showErrorPopup(error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function initializeTimeInputs() {
|
||||
try {
|
||||
var previousStartTime = "";
|
||||
|
||||
@@ -421,6 +421,24 @@
|
||||
calcChPwPrepend();
|
||||
}
|
||||
|
||||
var initialPwPrependWidth = 0;
|
||||
function calcChPwPrepend() {
|
||||
try {
|
||||
if (initialPwPrependWidth <= 0 && $.isNumeric(getMaxWidth("pw-prepend"))) {
|
||||
initialPwPrependWidth = getMaxWidth("pw-prepend");
|
||||
}
|
||||
|
||||
if (initialPwPrependWidth <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
$(".pw-prepend").width(getMaxWidth("pw-prepend"));
|
||||
} catch(error) {
|
||||
showErrorPopup(error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function copyErrorToClipboard() {
|
||||
var element = document.querySelector("#fehlerdetail-textarea");
|
||||
element.select();
|
||||
|
||||
Reference in New Issue
Block a user