Node.js based forum software built for the modern web
feat: #9559, set order help text
Barış Soner Uşaklıf5847f4f024b
diff --git a/public/language/en-GB/admin/manage/categories.json b/public/language/en-GB/admin/manage/categories.jsonindex db353a8ce2..ed5462e9be 100644--- a/public/language/en-GB/admin/manage/categories.json+++ b/public/language/en-GB/admin/manage/categories.json@@ -33,6 +33,7 @@"analytics": "Analytics","view-category": "View category","set-order": "Set order",+ "set-order-help": "Setting the order of the category will move this category to that order and update the order of other categories as necessary. Minimum order is 1 which puts the category at the top.","select-category": "Select Category","set-parent-category": "Set Parent Category",diff --git a/public/src/admin/manage/categories.js b/public/src/admin/manage/categories.jsindex d077ad9d39..c6d1307a4d 100644--- a/public/src/admin/manage/categories.js+++ b/public/src/admin/manage/categories.js@@ -49,7 +49,7 @@ define('admin/manage/categories', [var order = $(this).attr('data-order');var modal = bootbox.dialog({title: '[[admin/manage/categories:set-order]]',- message: '<input class="form-control input-lg" value=' + order + ' />',+ message: '<input type="number" min="1" class="form-control input-lg" value=' + order + ' /><p class="help-block">[[admin/manage/categories:set-order-help]]</p>',show: true,buttons: {save: {