Brady Wetherington
17f6fbabfa
Switch to 'items' to maintain compatbility with other internal API's
2020-07-13 21:12:03 -07:00
Brady Wetherington
e7a820f7c9
Changes how we do AJAX calls via Select2 for dynamic drop-down menus
2020-07-13 17:14:31 -07:00
snipe
21d8225696
Use button primary for higher contrast
2020-04-02 18:33:26 -07:00
snipe
a729410fe8
Regenerated JS
2020-03-27 22:03:30 -07:00
snipe
978533b2f4
Fixed XSS vulnerability when creating a new categories, etc via modal on create
...
Same fix as before, because of the weird select2 post-parsing ajax behavior
2019-05-21 18:29:50 -07:00
Daniel Meltzer
b6b93550fe
Remove old helpers ( #5843 )
...
* Cleanup model bulk-edit
Use the general partials where appropriate, as well as display a list of
what models we are editing in the bulk edit.
* Use new api based fetch/display for modal select2.
This is just copy/pasting the code currently because I'm not entirely
sure how the two pieces of code interact.
* Remove old helper functions that are no longer necessary with our populating of select2 dropdowns via ajax.
2018-07-16 14:22:25 -07:00
snipe
57e5af2f69
Removed console logging from JS
2018-01-20 07:42:48 -08:00
Brady Wetherington
dfb2b9b569
Major overhaul for modals, and a fix for #4820 ( #4866 )
...
Changes how the various modals work, and allows for specifying
category_type when inline-creating categories.
2018-01-20 00:42:29 -08:00
snipe
82690e1fd7
Integrate ajax select2 menus in all asset checkouts
2017-10-26 02:28:17 -07:00
snipe
d678a0ebff
Switched to using JS routes for better subdirectory support, removed debugging console logs
2017-10-24 19:20:00 -07:00
snipe
680ad676ca
Remove debugging
2017-10-24 17:10:42 -07:00
snipe
9cc25bcfd0
Hopefully fixes #4150
2017-10-16 20:34:22 -07:00
snipe
7455b1019a
Hacky possible fix for subdir issues
2017-10-16 20:12:11 -07:00
Brady Wetherington
6ad5da44f3
Formalize modals ( #3898 )
...
* Refactor Modal JS into standalone file, remove duplicated JS and HTML
* Finish fixing Bulk-checkout and checkout
2017-08-26 16:06:52 -07:00