fix backing out of photo-only post cuke

This commit is contained in:
danielgrippi 2012-01-03 11:49:33 -08:00 committed by Dennis Collinson
parent dbfb18e249
commit 5e28c8f6ec
2 changed files with 0 additions and 5 deletions

View file

@ -72,10 +72,6 @@
if ( $('.publisher_photo').length == 0){
textarea.removeClass("with_attachments");
textarea.css('paddingBottom', '');
if( $('#status_message_text').attr("value") == ""){
Publisher.close()
}
}
});
}

View file

@ -75,7 +75,6 @@ Feature: posting from the main page
And I click to delete the first uploaded photo
And I wait for the ajax to finish
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
Given I expand the publisher