mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-05 05:38:41 +03:00
Disable test postmessag
This commit is contained in:
parent
e9f110a4c5
commit
e8353edb06
2 changed files with 11 additions and 11 deletions
|
@ -35,12 +35,12 @@ export default React.createClass({
|
||||||
|
|
||||||
componentDidMount: function() {
|
componentDidMount: function() {
|
||||||
console.log("App component %s mounted", this.props.id);
|
console.log("App component %s mounted", this.props.id);
|
||||||
setInterval(() => {
|
// setInterval(() => {
|
||||||
const msg = "Message from riot";
|
// const msg = "Message from riot";
|
||||||
const domain = 'http://localhost:8000';
|
// const domain = 'http://localhost:8000';
|
||||||
this.refs.appFrame.contentWindow.postMessage(msg, domain);
|
// this.refs.appFrame.contentWindow.postMessage(msg, domain);
|
||||||
console.log("Sending message");
|
// console.log("Sending message");
|
||||||
}, 3000);
|
// }, 3000);
|
||||||
},
|
},
|
||||||
|
|
||||||
_onEditClick: function() {
|
_onEditClick: function() {
|
||||||
|
|
|
@ -32,7 +32,7 @@ const roomWidgetConfig = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "recipie",
|
id: "recipie",
|
||||||
url: "http://localhost:8000/recepie.html",
|
url: "http://10.9.64.88:8000/recepie.html",
|
||||||
name: "Ingredients - Boeuf Bourguignon",
|
name: "Ingredients - Boeuf Bourguignon",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -40,7 +40,7 @@ const roomWidgetConfig = {
|
||||||
'!JWeMRscvtWqfNuzmSf:matrix.org': [
|
'!JWeMRscvtWqfNuzmSf:matrix.org': [
|
||||||
{
|
{
|
||||||
id: "grafana",
|
id: "grafana",
|
||||||
url: "http://localhost:8000/grafana.html",
|
url: "http://10.9.64.88:8000/grafana.html",
|
||||||
name: "Monitoring our Single-Point-Of-Failure DB",
|
name: "Monitoring our Single-Point-Of-Failure DB",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -53,7 +53,7 @@ const roomWidgetConfig = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "thermometer",
|
id: "thermometer",
|
||||||
url: "http://localhost:8000/index.html",
|
url: "http://10.9.64.88:8000/index.html",
|
||||||
name: "Tip Me!!! -- Send me cash $$$",
|
name: "Tip Me!!! -- Send me cash $$$",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -66,7 +66,7 @@ const roomWidgetConfig = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "thermometer",
|
id: "thermometer",
|
||||||
url: "http://localhost:8000/index.html",
|
url: "http://10.9.64.88:8000/index.html",
|
||||||
name: "Tip Me!!! -- Send me cash $$$",
|
name: "Tip Me!!! -- Send me cash $$$",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -74,7 +74,7 @@ const roomWidgetConfig = {
|
||||||
'!BLQjREzUgbtIsgrvRn:matrix.org': [
|
'!BLQjREzUgbtIsgrvRn:matrix.org': [
|
||||||
{
|
{
|
||||||
id: "etherpad",
|
id: "etherpad",
|
||||||
url: "http://localhost:8000/etherpad.html",
|
url: "http://10.9.64.88:8000/etherpad.html",
|
||||||
name: "Etherpad",
|
name: "Etherpad",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue