Commit Graph

15 Commits

Author SHA1 Message Date
Alexandre Alapetite
2374374ba9 Less jQuery (#2234)
* Less jQuery

Follow-up of https://github.com/FreshRSS/FreshRSS/pull/2199

* Even less jQuery + global view unread title fix

* Even less jQuery

* Yet even less jQuery

* Even less jQuery

* Reduce some events

* Even less jQuery

* jQuery gone from main view

+Fixed English i18n

* Fix feed folded view

* Remove Firefox 64 workaround

Remove workaround for Gecko bug 1514498 in Firefox 64, fixed in Firefox
65

* Split to extra.js

Avoid loading unneeded JavaScript code for the main view.
+ several adjustements

* Improve CSS transition fold category

* Rewrite shortcuts

Remove library. Much faster, shorter, one listener instead of many.
Control of the shortcut context.
Fix https://github.com/FreshRSS/FreshRSS/issues/2215

* Remove debug

* Minor syntax

* Filter out unwanted shortcut modifiers

* Menu overflow fix

* Typo

* Fix unfolding in mobile view

* Remove jQuery from category.js

* Remove jQuery from Global view
2019-02-13 15:06:28 +01:00
Alexandre Alapetite
ca7d1fddde Minor JS whitespace 2017-09-23 13:41:26 +02:00
Alexandre Alapetite
d9bf9b2c6f Fix bug move feed to another category
CSRF
2016-09-24 17:32:30 +02:00
Alexandre Alapetite
396ebb0fd2 Minor JavaScript problems with drag & drop
Independent of the jQuery update
2016-08-07 00:17:34 +02:00
Alexandre Alapetite
157781c8eb Fix drag in Internet Explorer
Internet Explorer does not support setData('text/html') and setData() is
deprecated
https://msdn.microsoft.com/en-us/library/ms536744(v=vs.85).aspx
2016-08-06 20:52:08 +02:00
Alexandre Alapetite
de2c6fab7a Fix drag in Chrome 2016-08-06 15:43:28 +02:00
Alexandre Alapetite
6d5b868b34 Merge for conflicts 2016-08-06 14:20:00 +02:00
Alexandre Alapetite
a051970d5b jQuery 3 compatibility
https://jquery.com/upgrade-guide/3.0/

* event.props removed

https://jquery.com/upgrade-guide/3.0/#breaking-change-jquery-event-props-and-jquery-event-fixhooks-removed
https://github.com/jquery/api.jquery.com/issues/405

* jqXHR.success(), jqXHR.error(), and jqXHR.complete() removed
2016-08-06 14:13:03 +02:00
Alexandre Alapetite
3652dea854 JSHint and safer async init_normal 2016-08-06 13:18:46 +02:00
Marien Fressinaud
d8ed718aab Refactor javascript_vars.phtml
Introduce kind of context objectin JavaScript

See https://github.com/marienfressinaud/FreshRSS/issues/634
See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05 17:32:01 +02:00
Marien Fressinaud
ce43b1761b Fix box when no feed in category
See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-02 19:47:02 +02:00
Marien Fressinaud
408ac31dd8 Hack for dragleave (triggered on children!)
See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-02 19:02:43 +02:00
Marien Fressinaud
6effa82cef Improve drag and drop
- Refactoring
- Better design
- Item doesn't disappear if action is not completed

See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-02 15:02:42 +02:00
Marien Fressinaud
50f07febae Add dataTransfer property to event for JQuery
See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-02 12:13:16 +02:00
Marien Fressinaud
db4da3babc First draft for drag and drop
We can change feed category by drag and drop! Need improvements...

See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-02 11:39:51 +02:00