From 8a984300eb71317109717b7fbcb9c388d336e764 Mon Sep 17 00:00:00 2001 From: Walter Doekes Date: Thu, 17 Oct 2019 15:36:43 +0200 Subject: [PATCH] Pin jQuery to < 2; fixing unusable dashboard JS ('indexOf' of undefined) Otherwise we get lots of: Uncaught TypeError: Cannot read property 'indexOf' of undefined And the dashboard is completely unusable. (Actually, <3 works, but the project-requirements-change.py Zuul check doesn't pass when this isn't <2.) Closes-Bug: #1794028 Change-Id: Iaf3d33d3200f2fed934bde4d7373674de722a9e1 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2c907d8da8..0a8f8be5ab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -56,7 +56,7 @@ XStatic-D3>=3.5.17.0 # BSD License (3 clause) XStatic-Hogan>=2.0.0.2 # Apache 2.0 License XStatic-Font-Awesome>=4.7.0.0 # SIL OFL 1.1 License, MIT License XStatic-Jasmine>=2.4.1.1 # MIT License -XStatic-jQuery>=1.8.2.1 # MIT License +XStatic-jQuery>=1.8.2.1,<2 # MIT License XStatic-JQuery-Migrate>=1.2.1.1 # MIT License XStatic-JQuery.quicksearch>=2.0.3.1 # MIT License XStatic-JQuery.TableSorter>=2.14.5.1 # MIT License