joomla / backend-template

backend template for Joomla 4 working area
GNU General Public License v2.0
13 stars 23 forks source link

Fix colorpicker value #399

Closed fancyFranci closed 5 years ago

fancyFranci commented 5 years ago

Pull Request for Issue https://github.com/joomla/joomla-cms/issues/25583

Summary of Changes

The colorpicker displayed the default value instead of the (correct) saved value and this PR fixes this. It just checked the wrong format (there is one for display colors and one for saving them in database).

Testing Instructions

Go to the backend Atum template settings -> Colour Settings and "Choose your hue value for the dark template colour". Change the value. Click save and check the value which is displayed on the colorpicker and in the input field after the page reloads.

Expected result

The selected value should be visible.

Actual result

The default value for this field gets loaded.