diaspora/app/views/status_messages/new.html.haml
2015-03-11 19:18:05 +01:00

18 lines
538 B
Text

= render :partial => 'publisher/publisher',
:locals => { :aspect => @aspect,
:aspect_ids => @aspect_ids,
:selected_aspects => @aspects_with_person,
:person => @person }
:javascript
$(function() {
app.publisher = new app.views.Publisher({
standalone: true
});
app.publisher.open();
$("#publisher").bind('ajax:success', function(){
$("#mentionModal").modal('hide');
app.publisher.clear();
location.reload();
});
});