Commit Graph

12 Commits

Author SHA1 Message Date
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