From 56101ae5aea7558aa04e0ca9c2c984851fbdecd1 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 26 Aug 2020 22:00:03 -0400 Subject: [PATCH] fix: ip-blacklist not working after #8580 --- public/src/client/ip-blacklist.js | 4 ++-- src/views/admin/partials/blacklist-validate.tpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/src/client/ip-blacklist.js b/public/src/client/ip-blacklist.js index 801c014a49..a122925080 100644 --- a/public/src/client/ip-blacklist.js +++ b/public/src/client/ip-blacklist.js @@ -1,7 +1,7 @@ 'use strict'; -define('admin/manage/ip-blacklist', ['Chart', 'benchpress'], function (Chart, Benchpress) { +define('forum/ip-blacklist', ['Chart', 'benchpress'], function (Chart, Benchpress) { var Blacklist = {}; Blacklist.init = function () { @@ -19,7 +19,7 @@ define('admin/manage/ip-blacklist', ['Chart', 'benchpress'], function (Chart, Be app.alert({ type: 'success', alert_id: 'blacklist-saved', - title: '[[admin/manage/ip-blacklist:alerts.applied-success]]', + title: '[[ip-blacklist:alerts.applied-success]]', }); }); }); diff --git a/src/views/admin/partials/blacklist-validate.tpl b/src/views/admin/partials/blacklist-validate.tpl index 280dd4b415..36c747aa9c 100644 --- a/src/views/admin/partials/blacklist-validate.tpl +++ b/src/views/admin/partials/blacklist-validate.tpl @@ -1,10 +1,10 @@

- [[admin/manage/ip-blacklist:validate.x-valid, {valid.length}, {numRules}]] + [[ip-blacklist:validate.x-valid, {valid.length}, {numRules}]]

- [[admin/manage/ip-blacklist:validate.x-invalid, {invalid.length}]] + [[ip-blacklist:validate.x-invalid, {invalid.length}]]