Commit Graph

22 Commits

Author SHA1 Message Date
evazion
7157251657 Upgrade to jquery-2.2.4 (#3548). 2018-02-24 10:43:12 -06:00
evazion
9aa0af82ba Upgrade to jquery-1.12.4; add jquery-migrate plugin (#3548). 2018-02-15 21:38:16 -06:00
evazion
cf27de2ec9 Fix #3532: Make Enter key accept current tag during autocomplete.
Previously we patched the jqueryui-autocomplete library in order to
customize how the Tab and Enter keys behaved. Specifically, we wanted to
prevent the Tab key from moving the focus out of the tag input box, and
we wanted to prevent the Enter key from submitting the page when editing tags.

These things can achieved without patching the library by using
`event.preventDefault` and `event.stopImmediatePropagation` to prevent
other event handlers from running after these keys trigger the
`autocompleteselect` event.
2018-02-06 19:11:01 -06:00
r888888888
5ad18aef22 implement gestures 2017-09-23 13:14:49 -07:00
r888888888
70d057f8f3 move saved search option to sidebar 2017-03-20 16:19:15 -07:00
evazion
d79f1aac96 Move stupidtable.js into application.js.
Fixes this javascript error:

    Uncaught TypeError: $(...).stupidtable is not a function

on these pages:

* http://safebooru.donmai.us/reports/user_promotions
* http://safebooru.donmai.us/reports/contributors
* http://safebooru.donmai.us/reports/janitor_trials

...due to stupidtable.js not loading.
2016-12-20 02:31:05 -06:00
evazion
780fe07976 Move ugoira_player.js into application.js.
Fixes an issue with the ugoira player not working on Safebooru due to
this error:

    Asset filtered out and will not be served: add
    `Rails.application.config.assets.precompile += %w( ugoira_player.js)`
    to `config/initializers/assets.rb` and restart your server
2016-12-20 02:26:13 -06:00
r888888888
5f063d693a fully implement ugoira js player, upgrade jquery and jquery-ui 2014-10-19 02:30:02 -07:00
r888888888
81c5c15758 revert hammer js changes 2014-08-20 16:50:53 -07:00
r888888888
461f3b4a4d fixes #2243 2014-08-18 13:13:49 -07:00
r888888888
48b2719031 Reenable asset compilation for production 2014-04-25 14:40:20 -07:00
r888888888
06b92f9546 cache autocomplete results 2014-02-11 15:56:06 -08:00
r888888888
c85f31f2a5 fixes #1786 2013-06-21 11:32:58 -07:00
r888888888
5c52e68039 fixes #1768, revert to jquery-ui 1.10.2 2013-06-19 13:17:06 -07:00
r888888888
e0a14bb9eb * Use jquery-ui's autocomplete module instead of typeahead
* Enable support for multiple tag autocomplete
2013-06-18 18:38:05 -07:00
r888888888
6285c09124 upgraded to jquery 1.10 and jquery-ui 1.10, fix autocomplete js bugs, style general tags 2013-06-18 17:24:59 -07:00
r888888888
a0e6b20dd0 switch autocomplete plugin to typeahead library 2013-06-06 17:47:28 -07:00
albert
858a8ed72a remove keymaster dependency 2012-09-19 16:53:36 -04:00
albert
08cfb3d637 upgraded jquery, restyled post wiki excerpts 2012-01-13 17:40:01 -05:00
albert
33fa8d30ee * Merge randuin's changes
* Revert user/show changes
* Move paginator js into separate file
2011-09-06 11:01:40 -04:00
Robin Liao
c37766c4c1 keyed pagination in post#index 2011-09-03 15:13:56 -07:00
albert
ca68b2def1 moved stylesheets and javascripts to assets 2011-05-24 18:24:45 -04:00