instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.67k stars 2.5k forks source link

Clear out the section name input box after creating a new section #2017

Closed zwily closed 2 years ago

zwily commented 2 years ago

In the Course Settings -> Section tab, when you added a new section, the input box would remain with the newly created section name. The code was apparently attempting to clear it but needed an empty string to actually succeed.

Test Plan:

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

ccutrer commented 2 years ago

You should probably write a test for this.

maths22 commented 2 years ago

Merged in d1c856cde3b6bab60b5074d93431779bd915a322