Permalink
Browse files

MDL-35264 mod_chat Changing the input frame of chat daemon method to …

…a embedded page layout
  • Loading branch information...
1 parent 555112a commit a29aca57ee82fb9946b4e3ed321ae0fa625aca6b @dmonllao dmonllao committed Sep 6, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/chat/gui_sockets/chatinput.php
@@ -17,6 +17,7 @@
$USER = $DB->get_record('user', array('id'=>$chatuser->userid));
//Setup course, lang and theme
+$PAGE->set_pagelayout('embedded');
$PAGE->set_course($DB->get_record('course', array('id' => $chatuser->course)));
$PAGE->requires->js('/mod/chat/gui_sockets/chat_gui_sockets.js', true);
$PAGE->requires->js_function_call('setfocus');

0 comments on commit a29aca5

Please sign in to comment.