Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| # connecting select2 to the appropriate hooks: | |
| # | |
| # hard case: best_in_place's select | |
| $ -> | |
| # first, find the mount point | |
| $('body').on 'best_in_place:activate', '.best_in_place', -> | |
| # second, attach empty update() to `this` to screen the downstream calls | |
| # which otherwise will cause an error |