DG MS; added tooltip

This commit is contained in:
danielvincent 2010-10-11 10:53:00 -07:00
parent 884d7b7dd7
commit 82f526ea23
2 changed files with 6 additions and 3 deletions

View file

@ -21,7 +21,10 @@
= f.hidden_field( :public, :value => false )
.buttons
= f.submit t('.share')
- if @aspect == :all
= f.submit t('.share'), :title => "Share with all aspects"
- else
= f.submit t('.share'), :title => "Share with #{@aspect.name}"
- if defined? broadcast
= f.submit "Broadcast", :class => "broadcast", :name => "broadcast"
= f.submit "Broadcast", :class => "broadcast", :name => "broadcast", :title => "Publish to Diaspora and Facebook"

View file

@ -72,7 +72,7 @@ $.fn.clearForm = function() {
$("#publisher .broadcast").live("click", function(evt){
evt.preventDefault();
if( confirm("Broadcast to the world?") ) {
if( confirm("Publish to Diaspora and Facebook?") ) {
$("#status_message_public").val("true");
$(this).submit();
}