Skip to content

Commit ce9227e

Browse files
committed
Admidio deployment stuck in Chrome #1307
1 parent 410db68 commit ce9227e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

adm_program/installation/install_steps/create_config.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@
155155
$("#next_page").on("click", function() {
156156
$(this).prop("disabled", true);
157157
$(this).html("<i class=\"fas fa-sync fa-spin\"></i> ' . $gL10n->get('INS_DATABASE_WILL_BE_ESTABLISHED') . '");
158+
$("#installation-form").submit();
158159
});', true);
159160

160161
// now save new configuration file in Admidio folder if user has write access to this folder
@@ -170,10 +171,10 @@
170171
$page->assign('text', $gL10n->get('INS_DATA_FULLY_ENTERED'));
171172

172173
$form = new HtmlForm('installation-form', SecurityUtils::encodeUrl(ADMIDIO_URL . '/adm_program/installation/installation.php', array('step' => 'start_installation')));
173-
$form->addSubmitButton(
174+
$form->addButton(
174175
'next_page',
175176
$gL10n->get('INS_INSTALL_ADMIDIO'),
176-
array('icon' => 'fa-sync')
177+
array('icon' => 'fa-sync', 'class' => ' btn-primary admidio-margin-bottom')
177178
);
178179
} else {
179180
// if user doesn't has write access then create a page with a download link for the config file
@@ -191,10 +192,10 @@
191192
$gL10n->get('INS_DOWNLOAD_CONFIGURATION_FILE'),
192193
array('icon' => 'fa-download', 'link' => SecurityUtils::encodeUrl(ADMIDIO_URL . '/adm_program/installation/installation.php', array('step' => 'download_config')))
193194
);
194-
$form->addSubmitButton(
195+
$form->addButton(
195196
'next_page',
196197
$gL10n->get('INS_INSTALL_ADMIDIO'),
197-
array('icon' => 'fa-sync')
198+
array('icon' => 'fa-sync', 'class' => ' btn-primary admidio-margin-bottom')
198199
);
199200
}
200201

0 commit comments

Comments
 (0)