mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
added possebility to set the url, where the picker "lives", to enable it to load it's html-file correct (without the need to copy it everywhere)
This commit is contained in:
parent
892a1b369e
commit
29472d0c52
@ -14,7 +14,7 @@ function TCPopup(field, palette) {
|
||||
var w = 194, h = 206,
|
||||
move = screen ?
|
||||
',left=' + ((screen.width - w) >> 1) + ',top=' + ((screen.height - h) >> 1) : '',
|
||||
o_colWindow = window.open('picker.html', null, "help=no,status=no,scrollbars=no,resizable=no" + move + ",width=" + w + ",height=" + h + ",dependent=yes", true);
|
||||
o_colWindow = window.open((this.url?this.url:'')+'picker.html', null, "help=no,status=no,scrollbars=no,resizable=no" + move + ",width=" + w + ",height=" + h + ",dependent=yes", true);
|
||||
o_colWindow.opener = window;
|
||||
o_colWindow.focus();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user