hoodcms 6.0.8 → 6.0.9
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/dist/js/admin.js +2 -2
- package/dist/js/app.js +1 -1
- package/dist/js/app.property.js +1 -1
- package/dist/js/core/Media.js +1 -1
- package/dist/js/extensions/jqueryExtensions.d.ts +3 -3
- package/dist/js/login.js +1 -1
- package/package.json +1 -1
- package/src/js/admin.js +2 -2
- package/src/js/admin.js.map +1 -1
- package/src/js/app.js +1 -1
- package/src/js/app.js.map +1 -1
- package/src/js/app.property.js +1 -1
- package/src/js/app.property.js.map +1 -1
- package/src/js/login.js +1 -1
- package/src/ts/core/Media.ts +1 -1
- package/src/ts/extensions/jqueryExtensions.ts +3 -3
package/src/js/login.js
CHANGED
package/src/ts/core/Media.ts
CHANGED
|
@@ -174,7 +174,7 @@ export class MediaService {
|
|
|
174
174
|
thumbnailHeight: 80,
|
|
175
175
|
parallelUploads: 5,
|
|
176
176
|
paramName: 'files',
|
|
177
|
-
acceptedFiles: $("#media-upload").data('types') || ".png,.jpg,.jpeg,.gif",
|
|
177
|
+
acceptedFiles: $("#media-upload").data('types') || ".png,.jpg,.jpeg,.gif,.pdf",
|
|
178
178
|
autoProcessQueue: true, // Make sure the files aren't queued until manually added
|
|
179
179
|
previewsContainer: false, // Define the container to display the previews
|
|
180
180
|
clickable: "#media-add", // Define the element that should be used as click trigger to select files.
|
|
@@ -4,9 +4,9 @@ import { Alerts } from '../core/Alerts';
|
|
|
4
4
|
declare global {
|
|
5
5
|
interface JQuery {
|
|
6
6
|
exists(): number;
|
|
7
|
-
restrictToSlug(): void;
|
|
8
|
-
restrictToPageSlug(): void;
|
|
9
|
-
restrictToMetaSlug(): void;
|
|
7
|
+
restrictToSlug(restrictPattern?: RegExp): void;
|
|
8
|
+
restrictToPageSlug(restrictPattern?: RegExp): void;
|
|
9
|
+
restrictToMetaSlug(restrictPattern?: RegExp): void;
|
|
10
10
|
characterCounter(): void;
|
|
11
11
|
warningAlert(): void;
|
|
12
12
|
}
|