From d46a78b3cb6208b016c905ac2d2d45b04695e4a9 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Sun, 1 Apr 2018 12:12:43 +0200 Subject: [PATCH] Misc/Typos * fixed display of charges on GameObject Infobox * removed display of achievement points as cost from vendors --- pages/object.php | 2 +- static/js/global.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pages/object.php b/pages/object.php index e68c3200..6a7fde01 100644 --- a/pages/object.php +++ b/pages/object.php @@ -129,7 +129,7 @@ class ObjectPage extends GenericPage // lootinfo: [min, max, restock] if (($_ = $this->subject->getField('lootStack')) && $_[0]) { - $buff = Lang::item('charges').Lang::main('colon').$_[0]; + $buff = Lang::spell('spellModOp', 4).Lang::main('colon').$_[0]; if ($_[0] < $_[1]) $buff .= Lang::game('valueDelim').$_[1]; diff --git a/static/js/global.js b/static/js/global.js index 05bb07e0..94930798 100644 --- a/static/js/global.js +++ b/static/js/global.js @@ -7562,7 +7562,6 @@ Listview.extraCols = { var side = null; var items = row.cost[2]; var currency = row.cost[1]; - var achievementPoints = 0; if (row.side != null) { side = row.side; @@ -7576,7 +7575,7 @@ Listview.extraCols = { } } - Listview.funcBox.appendMoney(td, money, side, items, currency, achievementPoints); + Listview.funcBox.appendMoney(td, money, side, items, currency); } }, sortFunc: function(a, b, col) {