Corrected backend secretaries "cancel" button event typo.

This commit is contained in:
alext 2016-11-20 18:56:35 +02:00
parent 866308c21a
commit 5a022bb23d

View file

@ -184,7 +184,7 @@
* *
* Cancel add or edit of an secretary record. * Cancel add or edit of an secretary record.
*/ */
$('#secretaries').on('Click', '#cancel-secretary', function() { $('#secretaries').on('click', '#cancel-secretary', function() {
var id = $('#secretary-id').val(); var id = $('#secretary-id').val();
this.resetForm(); this.resetForm();
if (id != '') { if (id != '') {