Skip to content

Commit

Permalink
Removed unused path option from asset selector
Browse files Browse the repository at this point in the history
  • Loading branch information
flommy committed Apr 9, 2021
1 parent 6ed23b4 commit af20f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Cockpit/assets/cockpit.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
var selected = [], dialog = UIkit.modal.dialog([
'<div>',
'<div class="uk-modal-header uk-text-large">' + App.i18n.get('Select asset') + '</div>',
'<cp-assets path="' + (options.path || '') + '" typefilter="' + (options.typefilter || '') + '" modal="true"></cp-assets>',
'<cp-assets typefilter="' + (options.typefilter || '') + '" modal="true"></cp-assets>',
'<div class="uk-modal-footer uk-text-right">',
'<button class="uk-button uk-button-primary uk-margin-right uk-button-large uk-hidden js-select-button">' + App.i18n.get('Select') + ': <span></span> item(s)</button>',
'<a class="uk-button uk-button-large uk-button-link uk-modal-close">' + App.i18n.get('Close') + '</a>',
Expand Down

0 comments on commit af20f1f

Please sign in to comment.