From: Dan Wells Date: Thu, 7 Jan 2016 16:47:43 +0000 (-0500) Subject: LP#1208613 Reset lineitem cache when resetting table X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3b58bb7a72fd1de08b6983e38336aa271d1511ec;p=working%2FEvergreen.git LP#1208613 Reset lineitem cache when resetting table Stale cache entries in this table were causing the "expand all" functionality to break. This might be a nuclear option, but as far as I could see, this "cache" gets repopulated on every pagination anyway, so I don't think we're losing anything. Signed-off-by: Dan Wells --- diff --git a/Open-ILS/web/js/ui/default/acq/common/li_table.js b/Open-ILS/web/js/ui/default/acq/common/li_table.js index 4eda19721b..ffa6fc2506 100644 --- a/Open-ILS/web/js/ui/default/acq/common/li_table.js +++ b/Open-ILS/web/js/ui/default/acq/common/li_table.js @@ -360,6 +360,7 @@ function AcqLiTable() { this.reset = function(keep_selectors) { while(self.tbody.childNodes[0]) self.tbody.removeChild(self.tbody.childNodes[0]); + self.liCache = {}; self.noteAcks = {}; self.relCache = {};