* Fix task#103387

This commit is contained in:
zenggang
2023-09-25 05:38:59 +00:00
parent 3e1361ecd1
commit d3215ef0a6
8 changed files with 30 additions and 17 deletions
+12
View File
@@ -159,6 +159,18 @@ function onChangeDbType(event)
}
}
window.alertResource = function()
{
zui.Modal.confirm({'message': resourceAlert}).then((res) =>
{
if(res)
{
$('#createStoreAppForm').attr('action', $('#createStoreAppForm').attr('action') + '&checkResource=false');
$('#createStoreAppForm .form-row .toolbar button[type=submit]').trigger('click');
}
});
}
$(function()
{
onChangeStoreAppType();
@@ -29,6 +29,7 @@ jsVar('mysqlList', $mysqlList);
jsVar('defaultApp', $defaultApp);
jsVar('showVersion', $showVersion);
jsVar('externalApps', $config->space->zentaoApps);
jsVar('resourceAlert', $lang->instance->notices['notEnoughResource']);
if($config->inQuickon)
{