Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

debug auth sequence

  • Loading branch information...
commit d9ce3c60e4894a943337593b6489536e4c406034 1 parent 9b9002c
@robrighter authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 prod-buildout/js/site.js
  2. +2 −2 static/js/site.js
View
4 prod-buildout/js/site.js
@@ -24,7 +24,7 @@ var setProfile = function(user){
};
var unfollow = function(screenname,callback){
-
+ window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
$.getJSON('/__unfollow?screen_name='+screenname, function(data){
console.log(data);
if(data.error){
@@ -39,7 +39,7 @@ var unfollow = function(screenname,callback){
}
var authenticate = function(){
- win = window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
+ window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
}
var clearList = function() {
View
4 static/js/site.js
@@ -24,7 +24,7 @@ var setProfile = function(user){
};
var unfollow = function(screenname,callback){
-
+ window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
$.getJSON('/__unfollow?screen_name='+screenname, function(data){
console.log(data);
if(data.error){
@@ -39,7 +39,7 @@ var unfollow = function(screenname,callback){
}
var authenticate = function(){
- win = window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
+ window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
}
var clearList = function() {
Please sign in to comment.
Something went wrong with that request. Please try again.