Commit Graph

13 Commits

Author SHA1 Message Date
Javi Martín
fa1ce54d85 Use jQuery 3.5.1 in Annotator
The Annotator library included all the dependencies it had at the moment
it was released, and so it was using jQuery 1.11.2 instead of the
version we use in the rest of the application.

Since including jQuery 1.11.2 raises a few warnings, we're removing it
so Annotator uses the same version of jQuery that is used in the rest of
the application.

We expected we needed to change some code in order to make it compatible
with jQuery 3.x. So far, everything seems to work fine, but we might
face errors in the future due to this change.
2022-08-01 15:48:23 +02:00
Javi Martín
4153e52e70 Remove ES6-specific syntax in amsify suggestags
It was causing JavaScript to stop working completely on old browsers
which don't support this syntax.
2021-07-08 19:46:50 +02:00
taitus
f463baf14a Fix removing item twice
Add spec which is fixed with this commit.

In the `sTagsArea` zone there are two elements with the same `data-val`:
the `<span class="amsify-select-tag>` containing the selected tag and
the `<li class="amsify-list-item" data-val="1">` containing the
suggested tag.

This means every time we call `removeTag`, the `removeTagByItem`
function is called twice, and might remove extra items.

Suggested PR:
c8765a6915
2021-01-20 19:18:03 +01:00
taitus
beda6cb8c8 Add JQuery library for input tags
Source: https://github.com/amsify42/jquery.amsify.suggestags
2021-01-20 10:41:08 +01:00
Javi Martín
738e9ebc8b Remove code specific to Internet Explorer 8
Internet Explorer 9 was released eight years ago. Besides that, we don't
really support IE8 anyway, since we show a popup to IE8 users saying
we don't support it, we haven't maintained the IE8-specific CSS file for
years, and we don't test our JavaScript against IE8.
2019-09-10 22:43:37 +02:00
taitus
9b6b57a24c Remove all white spaces 2017-09-06 14:12:32 +02:00
Juanjo Bazán
15fc911bfb adds js for input type=number to IE<9 2016-03-08 14:32:54 +01:00
kikito
b864c164b2 eliminates unused javascript files 2015-12-18 17:17:15 +01:00
Alberto Garcia Cabeza
0021eb58ff Comments annotator css on js file 2015-12-17 21:03:52 +01:00
kikito
f43248b174 renames & refactors annotations.js into annotable.js 2015-12-16 16:07:23 +01:00
Abigail Sosa
189a6426b1 Se agregan anotaciones a propuestas existentes 2015-12-16 11:45:46 +01:00
Eloy Gomez
637e428f4c Add c3.js and dependencies 2015-08-17 19:13:38 +02:00
rgarcia
8db3630837 initial commit 2015-07-15 13:32:13 +02:00