This commit is contained in:
2023-05-30 17:34:56 +08:00
parent e728c66786
commit 9da1c4cf30
194 changed files with 10680 additions and 9060 deletions

View File

@ -66,7 +66,6 @@
function resizeContent() {
if ($('.content_main').length > 0)
$('.content_main').css('min-height', $(window).height() - $('.content_main').offset().top - 4);
$('#mask_bg').height($(document).outerHeight(false)).width($(document).outerWidth(false));
}
$(window).resize(function () {

View File

@ -88,7 +88,7 @@
$('#dialog_apitokensecret').val('');
$('#dialog_enabled').attr('checked', false);
$('#dialog_credential .dialog-title span.title').text(GetTextByKey("P_APICRE_ADDMANUFACTURE", 'Add Credential'));
$('#mask_bg').show();
showmaskbg(true);
$('#dialog_credential')
.attr('act', 'add')
.css({
@ -166,7 +166,7 @@
$('#dialog_enabled').attr("checked", cre.IsEnabled);
$('#dialog_credential .dialog-title span.title').text(GetTextByKey("P_APICRE_EDITMANUFACTURE", 'Edit Credential'));
$('#mask_bg').show();
showmaskbg(true);
$('#dialog_credential')
.attr('act', 'edit')
.css({
@ -381,7 +381,7 @@
setInput(dic);
})
$('#dialog_credential').dialog(function () {
$('#mask_bg').hide();
showmaskbg(false);
});
OnRefresh();
$(window).resize(function () {

View File

@ -83,7 +83,7 @@
$('#dialog_orgid').val('');
$('#dialog_notes').val('');
$('#dialog_credential .dialog-title span.title').text(GetTextByKey("P_CRE_ADDMANUFACTURE", 'Add Credential'));
$('#mask_bg').show();
showmaskbg(true);
$('#dialog_credential')
.attr('act', 'add')
.css({
@ -111,7 +111,7 @@
$('#dialog_orgid').val(cre.OrgnizationID);
$('#dialog_notes').val(cre.Notes);
$('#dialog_credential .dialog-title span.title').text(GetTextByKey("P_CRE_EDITMANUFACTURE", 'Edit Credential'));
$('#mask_bg').show();
showmaskbg(true);
$('#dialog_credential')
.attr('act', 'edit')
.css({
@ -277,7 +277,7 @@
InitGridData();
$('#dialog_credential').dialog(function () {
$('#mask_bg').hide();
showmaskbg(false);
});
OnRefresh();
$(window).resize(function () {

View File

@ -355,7 +355,7 @@
function OnAddNotification() {
$('#dialog_displayname').val('');
$('#mask_bg').show();
showmaskbg(true);
$('#dialog_credential')
.attr('act', 'add')
.css({
@ -613,7 +613,7 @@
OnRefreshNotification();
$('#dialog_credential').dialog(function () {
$('#mask_bg').hide();
showmaskbg(false);
});
$('#dialog_myorganization').dialog(function () {

View File

@ -70,7 +70,7 @@
$('#dialog_Verifierd').val('');
$('#dialog_displayname').val('');
$('#dialog_password').val('');
$('#mask_bg').show();
showmaskbg(true);
$('#dialog_credential')
.attr('act', 'add')
.css({
@ -232,7 +232,7 @@
InitGridData();
$('#dialog_credential').dialog(function () {
$('#mask_bg').hide();
showmaskbg(false);
});
OnRefresh();
$(window).resize(function () {