adash,
function audit(current_tab) {
*!*
var elems = $(".required, .city-id, #parent_cat_id, #category_id", current_tab);
*/!*
return [].every.
и тут
form.on("input change",
".required, .city-id, #parent_cat_id, #category_id", function(event) {
var ok = this.value.trim();
ok && ok != "0" && this.classList.remove("empty_field")
})