projects
/
evergreen
/
pines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ecdb78
)
LP#1208613 Reset lineitem cache when resetting table
author
Dan Wells
<dbw2@calvin.edu>
Thu, 7 Jan 2016 16:47:43 +0000
(11:47 -0500)
committer
Chris Sharp
<csharp@georgialibraries.org>
Sat, 5 Mar 2016 02:45:12 +0000
(21:45 -0500)
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 <dbw2@calvin.edu>
Open-ILS/web/js/ui/default/acq/common/li_table.js
patch
|
blob
|
history
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
8529a44
..
fde602d
100644
(file)
--- 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 = {};