Skip to content

Commit 5be7121

Browse files
authored
fix on change JavaScript event on color form field with layout advanced (joomla#41126)
1 parent d92cdc3 commit 5be7121

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

layouts/joomla/form/field/color/advanced.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
$disabled = $disabled ? ' disabled' : '';
6767
$readonly = $readonly ? ' readonly' : '';
6868
$hint = strlen($hint) ? ' placeholder="' . $this->escape($hint) . '"' : ' placeholder="' . $placeholder . '"';
69+
$onchange = $onchange ? ' onchange="' . $onchange . '"' : '';
6970
$required = $required ? ' required' : '';
7071
$autocomplete = !empty($autocomplete) ? ' autocomplete="' . $autocomplete . '"' : '';
7172

0 commit comments

Comments
 (0)