mirror of
https://github.com/Mibew/tray.git
synced 2025-01-22 18:10:34 +03:00
fix theme preview; fix bottom anchor in chat.js
This commit is contained in:
parent
2479f2e684
commit
4516fabf62
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -17,7 +17,7 @@ var FrameUtils = {
|
|||||||
doc.write("<html><head>");
|
doc.write("<html><head>");
|
||||||
doc.write("<link rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\""+Chat.cssfile+"\">");
|
doc.write("<link rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\""+Chat.cssfile+"\">");
|
||||||
doc.write("</head><body bgcolor='#FFFFFF' text='#000000' link='#C28400' vlink='#C28400' alink='#C28400'>");
|
doc.write("</head><body bgcolor='#FFFFFF' text='#000000' link='#C28400' vlink='#C28400' alink='#C28400'>");
|
||||||
doc.write("<table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td valign='top' class='message' id='content'></td></tr></table><a id='bottom'></a>");
|
doc.write("<table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td valign='top' class='message' id='content'></td></tr></table><a id='bottom' name='bottom'></a>");
|
||||||
doc.write("</body></html>");
|
doc.write("</body></html>");
|
||||||
doc.close();
|
doc.close();
|
||||||
frm.onload = function() {
|
frm.onload = function() {
|
||||||
|
@ -79,6 +79,7 @@ if ($show == 'redirect' || $show == 'redirected' || $show == 'agentchat' || $sho
|
|||||||
'userName' => getstring("chat.default.username"),
|
'userName' => getstring("chat.default.username"),
|
||||||
'remote' => "1.2.3.4",
|
'remote' => "1.2.3.4",
|
||||||
'agentId' => 1,
|
'agentId' => 1,
|
||||||
|
'groupid' => 0,
|
||||||
'userid' => 'visitor1',
|
'userid' => 'visitor1',
|
||||||
'locale' => $current_locale,
|
'locale' => $current_locale,
|
||||||
'ltoken' => $show == 'agentrochat' ? 124 : 123),
|
'ltoken' => $show == 'agentrochat' ? 124 : 123),
|
||||||
|
Loading…
Reference in New Issue
Block a user