diaspora/app/views/status_messages/new.html.haml
2014-11-02 01:49:33 +01:00

20 lines
580 B
Text

= javascript_include_tag :home
= render :partial => 'publisher/publisher_bootstrap',
: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();
});
});