diff --git a/app/views/status_messages/new.haml b/app/views/status_messages/new.haml index b914d480f..88c69e341 100644 --- a/app/views/status_messages/new.haml +++ b/app/views/status_messages/new.haml @@ -12,6 +12,7 @@ Publisher.autocompletion.onSelect($("#status_message_fake_text"),person,'#{@person.name}'); $("#publisher #status_message_fake_text").val(function(index, value){ return value + " " }); $("#publisher").bind('ajax:success', function(){location.reload();}); + Publisher.open(); }); #new_status_message_pane @@ -21,3 +22,4 @@ = t('.mentioning', :person => @person.name) = render :partial => 'shared/publisher', :locals => { :aspect => @aspect, :aspect_ids => @aspect_ids, :aspects_with_person => @aspects_with_person, :person => @person} + diff --git a/features/posts.feature b/features/posts.feature index 1714b4ca6..38bb349f4 100644 --- a/features/posts.feature +++ b/features/posts.feature @@ -55,7 +55,7 @@ Feature: posting And I have turned off jQuery effects And I click "Mention" button And I expand the publisher in the modal window - And I append "#publisher #status_message_text" with "I am eating a yogurt" in the modal window + And I append "#status_message_text" with "I am eating a yogurt" in the modal window And I press "Share" in the modal window And I follow "" Then I should "I am eating a yogurt" @@ -70,7 +70,7 @@ Feature: posting And I have turned off jQuery effects And I click "Mention" button And I expand the publisher in the modal window - And I append "#publisher #status_message_text" with "I am eating a yogurt" in the modal window + And I append "#status_message_text" with "I am eating a yogurt" in the modal window And I follow "DidntPostTo" within "#publisher" in the modal window And I press "Share" in the modal window And I follow ""