API: Migrate POST /ui_settings/change to PATCH /settings/ui

This commit is contained in:
Rafid Aslam
2016-12-22 09:36:18 +07:00
committed by showell
parent 5f77ce1ce8
commit d0502537ab
5 changed files with 6 additions and 6 deletions

View File

@@ -769,8 +769,8 @@ function _setup_page() {
labs_updates[setting] = $("#" + setting).is(":checked");
});
channel.post({
url: '/json/ui_settings/change',
channel.patch({
url: '/json/settings/ui',
data: labs_updates,
success: function (resp, statusText, xhr) {
var message = i18n.t("Updated __product_name__ Labs settings! You will need to reload for these changes to take effect.", page_params);