Make support-chat a dialog

Mon, 22 Mar 2010 11:41:58 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 22 Mar 2010 11:41:58 +0000
changeset 33
60f794938bf7
parent 32
12e4a5e80f3a
child 34
510ca613996a

Make support-chat a dialog

js/supportchat.js file | annotate | diff | comparison | revisions
--- a/js/supportchat.js	Mon Mar 22 11:41:16 2010 +0000
+++ b/js/supportchat.js	Mon Mar 22 11:41:58 2010 +0000
@@ -123,8 +123,12 @@
 	// Display pop-up, showing question form
 	if(start_connection())
 	{
-		$("#support-chat").show();
 		$("#support-question-submit").click(on_question_submit);
+		$("#support-chat").dialog({
+			title:"Live Support",
+			height: 400,
+			width: 285
+		});
 	}
 }
 

mercurial