提交 f1af8e70 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'cherry-pick-ec8283fc' into 'develop'

修复会议管理的会议链接过长时显示异常的问题

See merge request o2oa/o2oa!2168
...@@ -1200,7 +1200,7 @@ MWF.xApplication.Meeting.MeetingForm = new Class({ ...@@ -1200,7 +1200,7 @@ MWF.xApplication.Meeting.MeetingForm = new Class({
new Element("a", { new Element("a", {
style: "font-size:14px;", style: "font-size:14px;",
href: this.data.roomLink, href: this.data.roomLink,
text: this.data.roomLink, text: this.lp.openMeetingUrl,
target: "_blank" target: "_blank"
}).inject( node ); }).inject( node );
} }
...@@ -1209,17 +1209,17 @@ MWF.xApplication.Meeting.MeetingForm = new Class({ ...@@ -1209,17 +1209,17 @@ MWF.xApplication.Meeting.MeetingForm = new Class({
node = this.formTableArea.getElement("[item='roomId']"); node = this.formTableArea.getElement("[item='roomId']");
node.empty(); node.empty();
new Element("span", { text: this.data.roomId, name: "roomId" }).inject( node ); new Element("span", { text: this.data.roomId, name: "roomId" }).inject( node );
this.app.isCopyEnable().then(function(flag){ // this.app.isCopyEnable().then(function(flag){
if( flag ){ // if( flag ){
new Element("div", { // new Element("div", {
"text": this.lp.copy, // "text": this.lp.copy,
"styles": this.app.css.inputDenyButton, // "styles": this.app.css.inputDenyButton,
"events": { // "events": {
"click": function (){ this.app.copyTextToClipboard(this.data.roomId) }.bind(this) // "click": function (){ this.app.copyTextToClipboard(this.data.roomId) }.bind(this)
} // }
}).inject( node ); // }).inject( node );
} // }
}.bind(this)) // }.bind(this))
} }
}, },
reloadinviteDelPerson: function(){ reloadinviteDelPerson: function(){
...@@ -1980,26 +1980,26 @@ MWF.xApplication.Meeting.MeetingTooltip = new Class({ ...@@ -1980,26 +1980,26 @@ MWF.xApplication.Meeting.MeetingTooltip = new Class({
new Element("a", { new Element("a", {
style: "font-size:13px;", style: "font-size:13px;",
href: this.data.roomLink, href: this.data.roomLink,
text: this.data.roomLink, text: this.lp.openMeetingUrl,
target: "_blank" target: "_blank"
}).inject( node ); }).inject( node );
} }
if( this.data.roomId ){ // if( this.data.roomId ){
this.app.isCopyEnable().then(function(flag){ // this.app.isCopyEnable().then(function(flag){
if( flag ){ // if( flag ){
node = this.node.getElement("[item='roomId']"); // node = this.node.getElement("[item='roomId']");
node.empty(); // node.empty();
new Element("span", { text: this.data.roomId, name: "roomId" }).inject( node ); // new Element("span", { text: this.data.roomId, name: "roomId" }).inject( node );
new Element("div", { // new Element("div", {
"text": this.lp.copy, // "text": this.lp.copy,
"styles": this.app.css.inputDenyButton, // "styles": this.app.css.inputDenyButton,
"events": { // "events": {
"click": function (){ this.app.copyTextToClipboard(this.data.roomId) }.bind(this) // "click": function (){ this.app.copyTextToClipboard(this.data.roomId) }.bind(this)
} // }
}).inject( node ); // }).inject( node );
} // }
}.bind(this)) // }.bind(this))
} //}
}, },
loadRoom: function( callback ){ loadRoom: function( callback ){
var area = this.node.getElement("[item='meetingRoom']"); var area = this.node.getElement("[item='meetingRoom']");
......
...@@ -128,7 +128,7 @@ MWF.xApplication.Meeting.Main = new Class({ ...@@ -128,7 +128,7 @@ MWF.xApplication.Meeting.Main = new Class({
isCopyEnable: function(){ isCopyEnable: function(){
return Promise.resolve(false); return Promise.resolve(false);
// if( typeOf(this.copyEnable) === "boolean" )return Promise.resolve(this.copyEnable); // if( typeOf(this.copyEnable) === "boolean" )return Promise.resolve(this.copyEnable);
// var text = ""; // var text = " ";
// if (navigator.clipboard) { // if (navigator.clipboard) {
// return navigator.clipboard.writeText(text).then(function() { // return navigator.clipboard.writeText(text).then(function() {
// this.copyEnable = true; // this.copyEnable = true;
......
...@@ -167,8 +167,9 @@ MWF.xApplication.Meeting.LP = { ...@@ -167,8 +167,9 @@ MWF.xApplication.Meeting.LP = {
"meetingMode": "meeting mode", "meetingMode": "meeting mode",
"meetingModeSelectText": ["offline meeting","online meeting"], "meetingModeSelectText": ["offline meeting","online meeting"],
"meetingModeSelectValue": ["offline","online"], "meetingModeSelectValue": ["offline","online"],
"meeting Url": "meeting link", "meetingUrl": "meeting link",
"meeting Number": "meeting number", "openMeetingUrl": "Open meeting link",
"meetingNumber": "meeting number",
"netMeetingAbb": "Net", "netMeetingAbb": "Net",
"yes": "Yes", "yes": "Yes",
"no": "No", "no": "No",
......
...@@ -167,8 +167,9 @@ MWF.xApplication.Meeting.LP = { ...@@ -167,8 +167,9 @@ MWF.xApplication.Meeting.LP = {
"meetingMode": "metodo de encuentro", "meetingMode": "metodo de encuentro",
"meetingModeSelectText": ["reunión fuera de línea","reunión en línea"], "meetingModeSelectText": ["reunión fuera de línea","reunión en línea"],
"meetingModeSelectValue": ["desconectado","en línea"], "meetingModeSelectValue": ["desconectado","en línea"],
"meeting Url": "URL de la reunión", "meetingUrl": "URL de la reunión",
"meeting Number": "número de reunión", "openMeetingUrl": "Abrir URL de la reunión",
"meetingNumber": "número de reunión",
"netMeetingAbb": "neto", "netMeetingAbb": "neto",
"yes": "", "yes": "",
"no": "No", "no": "No",
......
...@@ -168,6 +168,7 @@ MWF.xApplication.Meeting.LP = { ...@@ -168,6 +168,7 @@ MWF.xApplication.Meeting.LP = {
"meetingModeSelectText": ["线下会议","线上会议"], "meetingModeSelectText": ["线下会议","线上会议"],
"meetingModeSelectValue": ["offline","online"], "meetingModeSelectValue": ["offline","online"],
"meetingUrl": "会议链接", "meetingUrl": "会议链接",
"openMeetingUrl": "打开会议链接",
"meetingNumber": "会议号", "meetingNumber": "会议号",
"netMeetingAbb": "", "netMeetingAbb": "",
"yes": "", "yes": "",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册