git-svn-id: http://xe-core.googlecode.com/svn/trunk@608 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-22 08:35:51 +00:00
parent 799d22b4bd
commit df00d66ed9
2 changed files with 3 additions and 3 deletions

View file

@ -76,7 +76,7 @@ function doSelectOption(type) {
var cellpadding = table_obj.getAttribute("cellpadding");
if(!cellpadding) cellpadding = 1;
var border_color = table_obj.style.backgroundColor.replace(/^#/,'');
var border_color = table_obj.style.borderColor.replace(/^#/,'');
if(border_color.indexOf('rgb')>-1) {
var tmp_color = border_color.replace(/([a-z\(\) ]*)/ig,'').split(',');
border_color = xHex(tmp_color[0], 2, '')+xHex(tmp_color[1], 2, '')+xHex(tmp_color[2], 2, '');