ui: fixed unwanted acceptance failure alert
ui: fixed unwanted acceptance failure alert

Also replaced deprecated ajax callback method.

bsc#1093869 follow-up

Signed-off-by: Vítor Avelino <0ec58885d2460255b8413815ffc65f6ddcbe2fcb@suse.com>

ereslibre/velum,vitoravelino/velum,kubic-project/velum,kubic-project/velum,MaximilianMeister/velum,ereslibre/velum,ereslibre/velum,vitoravelino/velum,ereslibre/velum,MaximilianMeister/velum,kubic-project/velum,MaximilianMeister/velum,vitoravelino/velum,vitoravelino/velum,MaximilianMeister/velum,kubic-project/velum