DG MS; added tooltip
This commit is contained in:
parent
884d7b7dd7
commit
82f526ea23
2 changed files with 6 additions and 3 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue