fix the bug of class/sub-class when editing a ticket, #131, tried #108.
Merge pull request #137 from YanshuoH/form-debug

fix the bug of class/sub-class when editing a ticket, #131, tried #108.