DEFINE capital fix, JS action indicator fix, basic class date check fix

- captial DEFINE is now lower case
- indicator is visible check in javascript for showing indicator
- remove not needed overlay box 100% css, this is set in the stylesheet
anway
- Fix array pad missing in date compare functions in Basic class
This commit is contained in:
Clemens Schwaighofer
2020-02-06 18:07:04 +09:00
parent a1afc1fb2e
commit 5601b14d5f
3 changed files with 14 additions and 15 deletions

View File

@@ -419,9 +419,11 @@ function actionIndicator(loc, overlay = true)
function actionIndicatorShow(loc, overlay = true)
{
console.log('Indicator: SHOW [%s]', loc);
$('#indicator').addClass('progress');
setCenter('indicator', true, true);
$('#indicator').show();
if (!$('#indicator').is(':visible')) {
$('#indicator').addClass('progress');
setCenter('indicator', true, true);
$('#indicator').show();
}
if (overlay === true) {
overlayBoxShow();
}
@@ -475,12 +477,9 @@ function overlayBoxHide()
*/
function setOverlayBox()
{
/* var viewport = document.viewport.getDimensions();
$('#overlayBox').css ({
width: '100%',
height: '100%'
});*/
$('#overlayBox').show();
if (!$('#overlayBox').is(':visible')) {
$('#overlayBox').show();
}
}
/**