mirror of https://github.com/node-red/node-red.git
parent
1fc4a65307
commit
f5284f5e1f
|
@ -30,7 +30,7 @@
|
||||||
}
|
}
|
||||||
var callback = encodeURIComponent(location.protocol+"//"+location.hostname+":"+location.port+pathname+"twitter/"+twitterConfigNodeId+"/auth/callback");
|
var callback = encodeURIComponent(location.protocol+"//"+location.hostname+":"+location.port+pathname+"twitter/"+twitterConfigNodeId+"/auth/callback");
|
||||||
|
|
||||||
$("#node-config-twitter-row").html('Click <a id="node-config-twitter-start" href="/twitter/'+twitterConfigNodeId+'/auth?callback='+callback+'" target="_blank"><b>here</b></a> to authenticate with Twitter.');
|
$("#node-config-twitter-row").html('Click <a id="node-config-twitter-start" href="twitter/'+twitterConfigNodeId+'/auth?callback='+callback+'" target="_blank"><b>here</b></a> to authenticate with Twitter.');
|
||||||
$("#node-config-twitter-start").click(function() {
|
$("#node-config-twitter-start").click(function() {
|
||||||
twitterConfigNodeIntervalId = window.setTimeout(pollTwitterCredentials,2000);
|
twitterConfigNodeIntervalId = window.setTimeout(pollTwitterCredentials,2000);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue