MDL-34741 use 2in3 in mod_chat
This commit is contained in:
@@ -37,7 +37,7 @@ M.mod_chat_ajax.init = function(Y, cfg) {
|
||||
init : function(cfg) {
|
||||
this.cfg = cfg;
|
||||
this.cfg.req_count = this.cfg.req_count || 0;
|
||||
this.layout = new YAHOO.widget.Layout({
|
||||
this.layout = new Y.YUI2.widget.Layout({
|
||||
units : [
|
||||
{position: 'right', width: 180, resize: true, gutter: '5px', scroll: true, body: 'chat-userlist', animate: false},
|
||||
{position: 'bottom', height: 42, resize: false, body: 'chat-input-area', gutter: '5px', collapse: false, resize: false},
|
||||
@@ -123,7 +123,7 @@ M.mod_chat_ajax.init = function(Y, cfg) {
|
||||
|
||||
return;
|
||||
*/
|
||||
this.thememenu = new YAHOO.widget.Menu('basicmenu', {xy:[0,0]});
|
||||
this.thememenu = new Y.YUI2.widget.Menu('basicmenu', {xy:[0,0]});
|
||||
this.thememenu.addItems([
|
||||
{text: "Bubble", url: this.cfg.chaturl+'&theme=bubble'},
|
||||
{text: "Compact", url: this.cfg.chaturl+'&theme=compact'}
|
||||
|
||||
Reference in New Issue
Block a user