* Fix task#103387
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user