xuanhau / gwt-oauth2

Automatically exported from code.google.com/p/gwt-oauth2
Apache License 2.0
0 stars 0 forks source link

Second Button not appearing in sample #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to 
http://gwt-oauth2.googlecode.com/svn/trunk/samples/script/ScriptSample.html
2. Notice the clear tokens button isn't there

What is the expected output? What do you see instead?
There should be button, it is not there. This appears to be due to oauth2 not 
being defined before it is used. If the function is named and then called in 
body's onLoad the second button will appear.

What version of the product are you using? On what operating system?
This was tested with Firefox 12 and Chromium 18.0.1025.151 on Debian Wheezy.

Original issue reported on code.google.com by atomic.q...@gmail.com on 22 May 2012 at 9:08

GoogleCodeExporter commented 9 years ago
Looks like this is caused by a JS error on line 39, since the oauth2 variable 
isn't available yet. I'll look into it.

Original comment by jasonhall@google.com on 23 May 2012 at 1:46