1

Fixing code to remove categories correctly

This commit is contained in:
Alex Yatskov 2015-04-18 13:12:22 +09:00
parent 3d7daf8417
commit 5c9401f3cc

View File

@ -70,7 +70,7 @@
$('#categories button').unbind().click(function() {
if (confirm('Are you sure you want to delete this category?')) {
removeCategory($(this).attr('data-categoryId'));
removeCategory(parseInt($(this).attr('data-categoryId')));
}
});
}