mirror of
https://github.com/flarum/framework.git
synced 2025-01-23 03:45:15 +08:00
Oops, forgot to correct test code
This commit is contained in:
parent
bf93ae652f
commit
5d1f204ffb
3
framework/core/js/admin/dist/app.js
vendored
3
framework/core/js/admin/dist/app.js
vendored
|
@ -18097,7 +18097,7 @@ System.register('flarum/components/BasicsPage', ['flarum/components/Page', 'flar
|
||||||
app.translator.trans('core.admin.basics.forum_description_text')
|
app.translator.trans('core.admin.basics.forum_description_text')
|
||||||
), m('textarea', { className: 'FormControl', value: this.values.forum_description(), oninput: m.withAttr('value', this.values.forum_description) })]
|
), m('textarea', { className: 'FormControl', value: this.values.forum_description(), oninput: m.withAttr('value', this.values.forum_description) })]
|
||||||
}),
|
}),
|
||||||
Object.keys(this.localeOptions).length > 0 ? FieldSet.component({
|
Object.keys(this.localeOptions).length > 1 ? FieldSet.component({
|
||||||
label: app.translator.trans('core.admin.basics.default_language_heading'),
|
label: app.translator.trans('core.admin.basics.default_language_heading'),
|
||||||
children: [Select.component({
|
children: [Select.component({
|
||||||
options: this.localeOptions,
|
options: this.localeOptions,
|
||||||
|
@ -19852,6 +19852,7 @@ System.register('flarum/components/Navigation', ['flarum/Component', 'flarum/com
|
||||||
href: history.backUrl(),
|
href: history.backUrl(),
|
||||||
icon: 'chevron-left',
|
icon: 'chevron-left',
|
||||||
title: previous.title,
|
title: previous.title,
|
||||||
|
config: function config() {},
|
||||||
onclick: function onclick(e) {
|
onclick: function onclick(e) {
|
||||||
if (e.shiftKey || e.ctrlKey || e.metaKey || e.which === 2) return;
|
if (e.shiftKey || e.ctrlKey || e.metaKey || e.which === 2) return;
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
|
@ -58,7 +58,7 @@ export default class BasicsPage extends Page {
|
||||||
]
|
]
|
||||||
})}
|
})}
|
||||||
|
|
||||||
{Object.keys(this.localeOptions).length > 0
|
{Object.keys(this.localeOptions).length > 1
|
||||||
? FieldSet.component({
|
? FieldSet.component({
|
||||||
label: app.translator.trans('core.admin.basics.default_language_heading'),
|
label: app.translator.trans('core.admin.basics.default_language_heading'),
|
||||||
children: [
|
children: [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user