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)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 8 Feb 2017 20:21:26 +0000 (15:21 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.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();
                         };