webstaff: fix CSV-parsing of catalog record ID lists
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 8 Feb 2017 20:21:26 +0000 (15:21 -0500)
committerKathy Lussier <klussier@masslnc.org>
Sat, 18 Feb 2017 18:31:32 +0000 (13:31 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/dojo/openils/widget/XULTermLoader.js

index 47d23d1..886d4be 100644 (file)
@@ -95,7 +95,7 @@ if (!dojo._hasResource["openils.widget.XULTermLoader"]) {
                         var reader = new FileReader();
                         reader.onloadend = function(evt) {
                             data = self[
-                                this.parseCSV ? "parseAsCSV" : "parseUnimaginatively"
+                                self.parseCSV ? "parseAsCSV" : "parseUnimaginatively"
                             ](evt.target.result);
                             updateTermList();
                         };