forked from laysense/laysite
Prepare LaySite 1.5.1 page routing and template updates
This commit is contained in:
@@ -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');
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user