fixes ADMIN-2256
test plan:
- In a course, create 2 modules and add some items to each
- use "Move Module" and "Move Contents" a few times
- use "Move To" to be sure it still works too
- When a module is empty (no contents), clicking 'Move Contents'
option doesn't throw a JS console error. (it did before).
Change-Id: Ia0ad37fdd4076e74501f64023a6da3558af9c913
Reviewed-on: https://gerrit.instructure.com/172920
Tested-by: Jenkins
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Carl Kibler <ckibler@instructure.com>