Skip to content

Commit f4d0c9a

Browse files
author
Ryan Thompson
committed
server changes
1 parent 72b5a76 commit f4d0c9a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

css/swatch.png

100644100755
File mode changed.

language/english/color_picker_lang.php

100644100755
File mode changed.

src/Pyro/FieldType/ColorPicker.php

100644100755
+3-3
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ public function formInput()
6666

6767
public function stringOutput()
6868
{
69-
return $this->input;
69+
return $this->value;
7070
}
7171

7272
public function preOutputPlugin()
7373
{
7474
return array(
75-
'code' => $this->input,
76-
'swatch' => '<span class="color-picker-swatch" style="background-color: '.$this->input.'"></span>',
75+
'code' => $this->value,
76+
'swatch' => '<span class="color-picker-swatch" style="background-color: '.$this->value.'"></span>',
7777
);
7878
}
7979

0 commit comments

Comments
 (0)