Skip to content

Commit 91d2c98

Browse files
committed
remove the full connect button (no one is using it, we only rely on the narrower scopes)
1 parent 6d9038f commit 91d2c98

File tree

4 files changed

+0
-27
lines changed

4 files changed

+0
-27
lines changed

src/web/blocks.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,6 @@ <h2 id="menutitle" class="screenreader-only">Navigation Controls</h2>
125125
tabindex="-1" target="_blank" href="https://groups.google.com/forum/#!forum/pyret-discuss">Discuss Pyret</a>
126126
</div>
127127
</li>
128-
<li role="presentation">
129-
<div id="fullConnectButton" class="menuButton loginOnly">
130-
<a class="focusable" role="menuitem"
131-
aria-describedby="mhelp-submenu mhelp-activate mhelp-escape-submenu"
132-
tabindex="-1" href="javascript:void(0)">Enable Full Google Access</a>
133-
</div>
134-
</li>
135128
<li role="presentation">
136129
<div id="choose-context" class="menuButton">
137130
<a class="focusable" role="menuitem"

src/web/editor.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,6 @@ <h2 id="menutitle" class="screenreader-only">Navigation Controls</h2>
138138
tabindex="-1" target="_blank" href="https://groups.google.com/forum/#!forum/pyret-discuss">Discuss Pyret</a>
139139
</div>
140140
</li>
141-
<li role="presentation">
142-
<div id="fullConnectButton" class="menuButton loginOnly">
143-
<a class="focusable" role="menuitem"
144-
aria-describedby="mhelp-submenu mhelp-activate mhelp-escape-submenu"
145-
tabindex="-1" href="javascript:void(0)">Enable Full Google Access</a>
146-
</div>
147-
</li>
148141
<li role="presentation">
149142
<div id="choose-context" class="menuButton">
150143
<a class="focusable" role="menuitem"

src/web/js/beforeBlocks.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,6 @@ $(function() {
331331
});
332332

333333
storageAPI = storageAPI.then(function(api) { return api.api; });
334-
$("#fullConnectButton").click(function() {
335-
reauth(
336-
false, // Don't do an immediate load (this will require login)
337-
true // Use the full set of scopes for this login
338-
);
339-
});
340334
$("#connectButton").click(function() {
341335
$("#connectButton").text("Connecting...");
342336
$("#connectButton").attr("disabled", "disabled");

src/web/js/beforePyret.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -342,12 +342,6 @@ $(function() {
342342
});
343343

344344
storageAPI = storageAPI.then(function(api) { return api.api; });
345-
$("#fullConnectButton").click(function() {
346-
reauth(
347-
false, // Don't do an immediate load (this will require login)
348-
true // Use the full set of scopes for this login
349-
);
350-
});
351345
$("#connectButton").click(function() {
352346
$("#connectButton").text("Connecting...");
353347
$("#connectButton").attr("disabled", "disabled");
@@ -1326,7 +1320,6 @@ $(function() {
13261320
}
13271321
else {
13281322
const hideWhenControlled = [
1329-
"#fullConnectButton",
13301323
"#logging",
13311324
"#logout"
13321325
];

0 commit comments

Comments
 (0)