Welcome to mirror list, hosted at ThFree Co, Russian Federation.

new.html.haml « status_messages « views « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1e600894421cc425b79b1bf2a4dee684951591af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
= 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');
      location.reload();
    });
  });