stable

Clone or download

Read-only

Remove weird behavior when site admin change nb max values

Part of story #12553: see flags that categorize my project in all project pages In project admin categories, select 3 values for a category. As site admin, decrease the nb max values to 1 for this category. Go back to project admin categories: ● category is in error state ● previously selected values are displayed (no conversion to select2 until situation is resolved) ● form cannot be submitted Remove unwanted values, submit. Now the category is a simple selectbox. Change-Id: I747f362fba60a5db20cbb1dc4b705c8f8d8647dd

Modified Files

Name
M src/common/Project/Admin/Categories/IndexController.php +5 −1 Go to diff View file
M src/templates/project/admin/categories.mustache +7 −1 Go to diff View file
M src/www/scripts/project/admin/categories.js +43 −13 Go to diff View file