We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 35fe489 + f3e93e5 commit 771be8cCopy full SHA for 771be8c
composer.json
@@ -11,8 +11,10 @@
11
"silverstripe/framework": "^4",
12
"silverstripe/cms": "^4"
13
},
14
- "expose": [
15
- "css",
16
- "javascript"
17
- ]
+ "extra": {
+ "expose": [
+ "css",
+ "javascript"
18
+ ]
19
+ }
20
}
javascript/ImageSelect.jquery.js
@@ -185,7 +185,11 @@
185
186
});
187
188
- this.trigger('chosen:hiding_dropdown');
+
189
+ if (typeof $this !== 'undefined') {
190
+ $this.trigger('chosen:hiding_dropdown');
191
192
193
return ret;
194
195
0 commit comments