Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Gomes committed Apr 3, 2020
1 parent 90a34cd commit fdfd6f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/Cockpit/assets/components.js
Original file line number Diff line number Diff line change
Expand Up @@ -1872,7 +1872,7 @@ riot.tag2('field-asset', '<div ref="uploadprogress" class="uk-margin uk-hidden">
action: App.route('/assetsmanager/upload'),
type: 'json',
filelimit: 1,
allow: (this.opts.upload && this.opts.upload.allow) || '*.*',
allow: $this.pattern,
before: function(options) {

},
Expand Down
2 changes: 1 addition & 1 deletion modules/Cockpit/assets/components/field-asset.tag
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
action: App.route('/assetsmanager/upload'),
type: 'json',
filelimit: 1,
allow: (this.opts.upload && this.opts.upload.allow) || '*.*',
allow: $this.pattern,
before: function(options) {

},
Expand Down

0 comments on commit fdfd6f8

Please sign in to comment.