| Paste number 58855: | Borked find_attr |
| Pasted by: | djfiander |
| 7 months, 3 weeks ago | |
| #openils-evergreen | Context in IRC logs | |
| Paste contents: |
| openils.acq.Picklist.find_attr = function(li, at_name, at_type) { for (var attr in li.attributes()) { if (attr.attr_type() == at_type && attr.attr_name == at_name) { return attr.attr_value(); } } return ''; }; |
This paste has no annotations.