From 642650781c81c6b6f9ace25ec358221c72209ca4 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Mon, 11 Apr 2016 11:19:59 +0200 Subject: [PATCH] Order of jquery and angular in bower.json is important (Fixes #2064). jquery has to load *before* angular! Otherwise ng-model and ng-change doesn't work with angular-chosen select elements. --- bower.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bower.json b/bower.json index 7ab911d9f..eabde14ac 100644 --- a/bower.json +++ b/bower.json @@ -2,11 +2,12 @@ "name": "OpenSlides", "private": true, "dependencies": { + "jquery": "~2.2.3", "angular": "~1.4.9", "angular-animate": "~1.4.9", "angular-bootstrap": "~0.14.3", "angular-bootstrap-colorpicker": "~3.0.24", - "angular-chosen-localytics": "~1.3.0", + "angular-chosen-localytics": "~1.4.0", "angular-csv-import": "~0.0.27", "angular-formly": "~7.3.9", "angular-formly-templates-bootstrap": "~6.2.0", @@ -21,7 +22,6 @@ "angular-ui-tree": "~2.5.0", "bootstrap-css-only": "~3.3.6", "font-awesome-bower": "~4.5.0", - "jquery": "~2.2.0", "jquery.cookie": "~1.4.1", "js-data": "~2.8.2", "js-data-angular": "~3.1.0",