diff --git a/corehq/apps/locations/static/locations/js/location_types.js b/corehq/apps/locations/static/locations/js/location_types.js index 7d7cc13d4c9f..d8c3e09f0c47 100644 --- a/corehq/apps/locations/static/locations/js/location_types.js +++ b/corehq/apps/locations/static/locations/js/location_types.js @@ -398,12 +398,12 @@ hqDefine('locations/js/location_types', [ } $("form#settings").on("change input", function () { - $(this).find(":submit").addClass("btn-primary").enable(); + $(this).find(":submit").addClass("btn-primary").enableButton(); window.onbeforeunload = warnBeforeUnload; }); $("form#settings button").on("click", function () { - $("form#settings").find(":submit").enable(); + $("form#settings").find(":submit").enableButton(); window.onbeforeunload = warnBeforeUnload; });