更新 common_extra.js
This commit is contained in:
parent
91d2d8320f
commit
15c74d328d
|
@ -1245,7 +1245,8 @@ function _createPalette(colorid, id, func) {
|
|||
$('append_parent').appendChild(dom);
|
||||
}
|
||||
func = !func ? '' : '|' + func;
|
||||
window.frames["c"+colorid+"_frame"].location.href = SITEURL+STATICURL+"image/admincp/getcolor.htm?c"+colorid+"|"+id+func;
|
||||
var url = /(?:https?:)?\/\//.test(STATICURL) ? STATICURL : SITEURL+STATICURL;
|
||||
window.frames["c"+colorid+"_frame"].location.href = url+"image/admincp/getcolor.htm?c"+colorid+"|"+id+func;
|
||||
showMenu({'ctrlid':'c'+colorid});
|
||||
var iframeid = "c"+colorid+"_menu";
|
||||
_attachEvent(window, 'scroll', function(){hideMenu(iframeid);});
|
||||
|
|
Loading…
Reference in New Issue