Skip to content

Commit f13cc4e

Browse files
committed
redraw connectors on G+ sign in / out
1 parent d88a3f6 commit f13cc4e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎v3/js/composingprograms.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ function signinCallback(authResult) {
139139
});
140140
});
141141

142+
redrawConnectors(); // update all arrows at the end
143+
142144
} else {
143145
console.log('signinCallback: error occurred');
144146
}
@@ -156,6 +158,8 @@ function updateChatName() {
156158
p.Self.update({name: chatDisplayName});
157159
console.log('updateChatName:', p.Self.name);
158160
}
161+
162+
redrawConnectors(); // update all arrows at the end
159163
}
160164
}
161165

@@ -189,6 +193,7 @@ function signout() {
189193
success: function(result) {
190194
$('#signinButton').show();
191195
$('#loggedInDiv').hide();
196+
redrawConnectors(); // update all arrows at the end
192197
},
193198
error: function(e) {
194199
console.log(e);

0 commit comments

Comments
 (0)