Fix #419: closeColorPicker is not defined.

Events are attached in script, so drop onclick attribute and use button to preserve interactivity.
pull/420/head
Chad Weider 2012-02-06 12:37:47 -08:00
parent 2f32f5a6aa
commit b59c8a0c7e
1 changed files with 2 additions and 2 deletions

View File

@ -108,8 +108,8 @@
<div id="myuser"> <div id="myuser">
<div id="mycolorpicker"> <div id="mycolorpicker">
<div id="colorpicker"></div> <div id="colorpicker"></div>
<span id="mycolorpickersave"><a onclick="closeColorPicker()">Save</a></span> <button id="mycolorpickersave">Save</button>
<span id="mycolorpickercancel"><a onclick="closeColorPicker()">Cancel</a></span> <button id="mycolorpickercancel">Cancel</button>
<span id="mycolorpickerpreview" class="myswatchboxhoverable"></span> <span id="mycolorpickerpreview" class="myswatchboxhoverable"></span>
</div> </div>
<div id="myswatchbox"><div id="myswatch"></div></div> <div id="myswatchbox"><div id="myswatch"></div></div>