]> git.mjollnir.org Git - moodle.git/commit
MDL-17361 Problems with the question category editing forms.
authortjhunt <tjhunt>
Wed, 26 Nov 2008 04:25:42 +0000 (04:25 +0000)
committertjhunt <tjhunt>
Wed, 26 Nov 2008 04:25:42 +0000 (04:25 +0000)
commit1e69a6562f3d5998ab1e00d94c72cabd15cffc55
treece7c63e682dd4a3847cd14123e714bfb17e4958b
parentcc2c4572b1ff9dd0173a3035d85693c963e53b9b
MDL-17361 Problems with the question category editing forms.

When editing an existing category, the logic should have been to prevent you from moving the category if it was the last remaining top-level category in its context.

When creating a new category as part of creating a random question, there should be no restriction.
question/category_form.php
question/category_form_randomquestion.php