vmw-tmpst/heroapp-LetsHire — pull request #88 by Henry-CF (2013-04-16 04:03:47+00:00)
Title: [48134037] fix crash when saving without assigning a JD to candiate 

This is caused by without checking the selection_opening_id == 0.

Fix it, and also code refactor to split the func from action 'api'

Signed-off-by: Henry Chen