entcore 4.5.0-dev.5 → 4.5.0-dev.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "entcore",
3
- "version": "4.5.0-dev.5",
3
+ "version": "4.5.0-dev.8",
4
4
  "description": "",
5
5
  "main": "gulpfile.js",
6
6
  "types": "./types/src/ts/entcore.d.ts",
@@ -30,6 +30,7 @@
30
30
  <div class="three select-file">
31
31
  <div class="hidden-content">
32
32
  <input
33
+ ng-if="multiple"
33
34
  class="upload-input"
34
35
  type="file"
35
36
  multiple="multiple"
@@ -37,6 +38,14 @@
37
38
  accept="[[display.acceptType]]"
38
39
  ng-model="upload.files"
39
40
  />
41
+ <input
42
+ ng-if="!multiple"
43
+ class="upload-input"
44
+ type="file"
45
+ files-input-change="importFiles()"
46
+ accept="[[display.acceptType]]"
47
+ ng-model="upload.files"
48
+ />
40
49
  </div>
41
50
  <button
42
51
  class="file-button no-margin"
@@ -37,7 +37,6 @@
37
37
  <input
38
38
  class="upload-input"
39
39
  type="file"
40
- multiple="multiple"
41
40
  files-input-change="importFiles()"
42
41
  accept="video/avi, video/msvideo, video/x-msvideo, video/quicktime, video/x-quicktime, video/mp4, .mov, .avi, .mp4"
43
42
  ng-model="upload.files" />