kenirwin / Weeding-Helper

Web-based software to help libraries make weeding/de-accession decision. Designed for libraries using III (Innovative Interfaces) catalogs.
Other
11 stars 3 forks source link

Catalog-link arrows lost on AJAX data reload #9

Closed kenirwin closed 6 years ago

kenirwin commented 6 years ago

There are links to the catalog in the first column of data. They are added by a javascript in the view.php file, but it only happens on pageload. When data reloads via AJAX on a search, or when going to the next page of results, the arrows are lost.

Is there a way to trigger a javascript action when the data reloads?

kenirwin commented 6 years ago

Fixed in 98677ad14ae85169f2392e0d16025ba850e8b9d5 Inelegant solution: check every 2 seconds to see if the arrows have been loaded. Couldn't find a way to tie the arrows to a data-reload. Perhaps a better solution exists.