Hide welcome to diaspora after all popovers are closed
As a side effect stabilizes signs up cuke
This commit is contained in:
parent
34bdcb889a
commit
d4a2d5708c
2 changed files with 3 additions and 2 deletions
|
|
@ -61,7 +61,9 @@ app.views.PublisherGettingStarted = Backbone.View.extend({
|
||||||
|
|
||||||
close.click(function() {
|
close.click(function() {
|
||||||
if( $('.popover').length==1 ) {
|
if( $('.popover').length==1 ) {
|
||||||
$.get('/getting_started_completed');
|
$.get('/getting_started_completed', {success: function() {
|
||||||
|
$("#welcome-to-diaspora, #welcome-to-diaspora~br").remove();
|
||||||
|
}});
|
||||||
}
|
}
|
||||||
el.popover('hide');
|
el.popover('hide');
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,6 @@ Feature: new user registration
|
||||||
And I have turned off jQuery effects
|
And I have turned off jQuery effects
|
||||||
And I wait for the popovers to appear
|
And I wait for the popovers to appear
|
||||||
And I click close on all the popovers
|
And I click close on all the popovers
|
||||||
And I go to the home page
|
|
||||||
Then I should not see "Welcome to diaspora*"
|
Then I should not see "Welcome to diaspora*"
|
||||||
|
|
||||||
Scenario: user fills in bogus data - client side validation
|
Scenario: user fills in bogus data - client side validation
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue