Fix repeat click submit button
Merge branch 'api' of https://github.com/webim/webim-ui into api