fix backing out of photo-only post cuke
This commit is contained in:
parent
dbfb18e249
commit
5e28c8f6ec
2 changed files with 0 additions and 5 deletions
|
|
@ -72,10 +72,6 @@
|
||||||
if ( $('.publisher_photo').length == 0){
|
if ( $('.publisher_photo').length == 0){
|
||||||
textarea.removeClass("with_attachments");
|
textarea.removeClass("with_attachments");
|
||||||
textarea.css('paddingBottom', '');
|
textarea.css('paddingBottom', '');
|
||||||
|
|
||||||
if( $('#status_message_text').attr("value") == ""){
|
|
||||||
Publisher.close()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,6 @@ Feature: posting from the main page
|
||||||
And I click to delete the first uploaded photo
|
And I click to delete the first uploaded photo
|
||||||
And I wait for the ajax to finish
|
And I wait for the ajax to finish
|
||||||
Then I should not see an uploaded image within the photo drop zone
|
Then I should not see an uploaded image within the photo drop zone
|
||||||
And the publisher should be collapsed
|
|
||||||
|
|
||||||
Scenario: back out of uploading a picture to a post with text
|
Scenario: back out of uploading a picture to a post with text
|
||||||
Given I expand the publisher
|
Given I expand the publisher
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue