Skip to content

Commit

Permalink
Fixed #14832
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Apr 20, 2024
1 parent b61de4f commit 2b9f494
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Fixed an error that occurred when running the `db/convert-charset` command, if any tables contained `char` or `varchar` foreign key columns. ([#14815](https://github.com/craftcms/cms/issues/14815))
- Fixed a bug where parsed first/last names could have different casing than the full name that was submitted. ([#14723](https://github.com/craftcms/cms/issues/14723))
- Fixed a bug where `craft\helpers\UrlHelper::isAbsoluteUrl()` was returning `false` for URLs with schemes other than `http` or `https`, such as `mailto` and `tel`. ([#14830](https://github.com/craftcms/cms/issues/14830))
- Fixed a JavaScript error that occurred when opening Live Preview, if an Assets field’s “Upload files” button had been pressed. ([#14832](https://github.com/craftcms/cms/issues/14832))

## 4.8.9 - 2024-04-10

Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/garnish/dist/garnish.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/garnish/dist/garnish.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/web/assets/garnish/src/Garnish.js
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,10 @@ Garnish = $.extend(Garnish, {
break;
}

$targetInputs.eq(i).val($sourceInputs.eq(i).val());
const $targetInput = $targetInputs.eq(i);
if ($targetInput.attr('type') !== 'file') {
$targetInputs.eq(i).val($sourceInputs.eq(i).val());
}
}
},

Expand Down

0 comments on commit 2b9f494

Please sign in to comment.