diff --git a/o2web/source/x_component_Meeting/Common.js b/o2web/source/x_component_Meeting/Common.js index 39a3452d4d341188082ab9a03a7771be4d8e0c40..0bbcf547c15ef4b2edaf90c3fe303876f74ff76d 100644 --- a/o2web/source/x_component_Meeting/Common.js +++ b/o2web/source/x_component_Meeting/Common.js @@ -568,7 +568,7 @@ MWF.xApplication.Meeting.RoomTooltip = new Class({ var titleStyle = "font-size:14px;color:#333"; var valueStyle = "font-size:14px;color:#666;padding-right:20px"; var device = []; - data.device.split("#").each( function( d ){ + ( data.device || "" ).split("#").each( function( d ){ device.push( lp[d] ); }.bind(this)); @@ -1060,7 +1060,7 @@ MWF.xApplication.Meeting.MeetingForm = new Class({ var iconsNode = new Element("div", {"styles": this.css.roomTitleIconsNode}).inject(inforNode); - var deviceList = room.device.split("#"); + var deviceList = ( room.device || "" ).split("#"); deviceList.each(function(name){ if( name ){ var node = new Element("div", {"styles": this.css.roomTitleIconNode, "title": this.lp.device[name]}).inject(iconsNode); diff --git a/o2web/source/x_component_Meeting/RoomView.js b/o2web/source/x_component_Meeting/RoomView.js index 877333585c5d3ff1b079bd9cc10816a77bdf8750..b6a75b389ddb29234ae03d52f733c331474faea2 100644 --- a/o2web/source/x_component_Meeting/RoomView.js +++ b/o2web/source/x_component_Meeting/RoomView.js @@ -485,7 +485,7 @@ MWF.xApplication.Meeting.RoomView.Room = new Class({ "styles": this.css.roomItemTitleIconsNode }).inject(this.middleNode); - var deviceList = this.data.device.split("#"); + var deviceList = ( this.data.device || "" ).split("#"); deviceList.each(function(name){ var node = new Element("div", {"styles": this.css.roomItemIconNode, "title": this.app.lp.device[name]}).inject(this.iconsNode); node.setStyle("background-image", "url(../x_component_Meeting/$RoomView/default/icon/device/"+ name + ( this.enable ? "" : "_disable" ) +".png)");