AlexSheer / phpbb3.2-Knowledge-Base

Knowledge Base
GNU General Public License v2.0
1 stars 5 forks source link

EDIT action doesn’t keep the original category of the article #32

Closed Galixte closed 6 years ago

Galixte commented 6 years ago

@AlexSheer,

when I edit an article, the drom down menu named “Category:” where there are the categories list doesn’t keep the category selected when I have created the article.

It’s reinitiated to the first choice of the categories list.

could you fix this, please?

Galixte commented 6 years ago

I note that is more problematic than I thought, the original choice is grayed, because this is disabled="disabled" class="disabled-option" is present in the option tag.

Galixte commented 6 years ago

In awaiting a patch I have removed: disabled="disabled" class="disabled-option" from this line: https://github.com/AlexSheer/phpbb3.2-Knowledge-Base/blob/master/inc/functions_kb.php#L237.

AlexSheer commented 6 years ago

Fixed!https://github.com/AlexSheer/phpbb3.2-Knowledge-Base/commit/85ebedb3d74d0fed257bb14f803d1995e7328b3d#diff-8a628c06f2fdc9acb52694f411bb6a2c

Galixte commented 6 years ago

Thanks!