ColumnPicker shows checkmark instead of entity escape sequence flattener-grid
authorBill Erickson <berick@esilibrary.com>
Fri, 30 Mar 2012 20:48:23 +0000 (16:48 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 30 Mar 2012 20:49:29 +0000 (16:49 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js

index 9ad8b66..250bca5 100644 (file)
@@ -182,7 +182,12 @@ if(!dojo._hasResource["openils.widget.GridColumnPicker"]) {
                     }
                 }
 
-                td0.appendChild(document.createTextNode(cell.name));
+                if (cell.field == '+selector') {
+                    // pick up the unescaped unicode checkmark char
+                    td0.innerHTML = cell.name;
+                } else {
+                    td0.appendChild(document.createTextNode(cell.name));
+                }
                 td1.appendChild(ipt);
                 td2.appendChild(ipt2);
                 td3.appendChild(ipt3);