Skip to content

Commit

Permalink
Fixed issue #14660: Unable to choose icon on Boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Apr 30, 2019
1 parent 83ae888 commit 48b1078
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application/config/version.php
Expand Up @@ -16,5 +16,5 @@
$config['dbversionnumber'] = 358;
$config['buildnumber'] = '';
$config['updatable'] = true;
$config['assetsversionnumber'] = '30083';
$config['assetsversionnumber'] = '30084';
return $config;
3 changes: 1 addition & 2 deletions assets/scripts/admin/homepagesettings.js
Expand Up @@ -146,10 +146,9 @@ $(document).on('ready pjax:scriptcomplete', function(){
if($('.option-icon').length>1){
$('.option-icon').on('click', function (ev, that) {
var fullIconName = $(ev.currentTarget).attr('data-icon');
var iconName = fullIconName.substr(5)

// Set icon preview and hidden input
$('input[name="Boxes[ico]"]').val(iconName);
$('input[name="Boxes[ico]"]').val(fullIconName);
$('#chosen-icon').attr('class', fullIconName + ' text-success');
});

Expand Down

0 comments on commit 48b1078

Please sign in to comment.