Prepare LaySite 1.5.1 page routing and template updates

This commit is contained in:
2026-11-28 03:07:14 +08:00
parent 50fb30ff3b
commit 474cb766be
41 changed files with 354 additions and 146 deletions
+1
View File
@@ -40,6 +40,7 @@ jQuery(function ($) {
$detail.find('[data-template-live]').attr('href', '/admin/page-templates/' + key + '/preview');
$form.find('[name=template], [name=slug]').val(key);
$form.find('[name=name]').val(name);
$form.find('[name=type]').val($('[data-new-page-type]').val() || 'page');
$form.children('.ajax-feedback').prop('hidden', true);
showPanel('detail');
})