feat: #9651, change category desc to multiline

v1.18.x
Barış Soner Uşaklı 4 years ago
parent 7da8f12173
commit 5fd190f7c4

@ -25,7 +25,7 @@ define('admin/manage/category', [
handleTags(); handleTags();
$('#category-settings input, #category-settings select').on('change', function (ev) { $('#category-settings input, #category-settings select, #category-settings textarea').on('change', function (ev) {
modified(ev.target); modified(ev.target);
}); });

@ -19,7 +19,7 @@
<label for="cid-{category.cid}-description"> <label for="cid-{category.cid}-description">
[[admin/manage/categories:description]] [[admin/manage/categories:description]]
</label> </label>
<input id="cid-{category.cid}-description" data-name="description" placeholder="[[admin/manage/categories:description]]" value="{category.description}" class="form-control category_description description" /><br /> <textarea id="cid-{category.cid}-description" data-name="description" placeholder="[[admin/manage/categories:description]]" class="form-control category_description description" />{category.description}</textarea><br />
</fieldset> </fieldset>
<fieldset class="row"> <fieldset class="row">

Loading…
Cancel
Save