fix: ip-blacklist not working after #8580

v1.18.x
Julian Lam 4 years ago
parent c681b4b2e0
commit 56101ae5ae

@ -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]]',
});
});
});

@ -1,10 +1,10 @@
<p class="lead">
[[admin/manage/ip-blacklist:validate.x-valid, {valid.length}, {numRules}]]
[[ip-blacklist:validate.x-valid, {valid.length}, {numRules}]]
</p>
<!-- IF invalid.length -->
<p>
[[admin/manage/ip-blacklist:validate.x-invalid, {invalid.length}]]
[[ip-blacklist:validate.x-invalid, {invalid.length}]]
</p>
<ul>
<!-- BEGIN invalid -->

Loading…
Cancel
Save