mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 13:49:56 +09:00
issue 2728, added colorpicker in widget layer
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12477 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6544804465
commit
cd4078d396
3 changed files with 16 additions and 7 deletions
|
|
@ -682,7 +682,14 @@ function doShowWidgetSizeSetup(px, py, obj) {
|
|||
|
||||
jQuery.each(opts, function(key, val){
|
||||
var el = form[0].elements[key];
|
||||
if (el) el.value = val;
|
||||
if (el)
|
||||
{
|
||||
el.value = val;
|
||||
if(el.className.match(/\bcolor-indicator\b/))
|
||||
{
|
||||
el.style.background = el.value = '#'+el.value;
|
||||
}
|
||||
}
|
||||
if (el.tagName.toLowerCase() == "select")
|
||||
{
|
||||
if(el.selectedIndex == -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue