Ticket #4611: 4611.patch
File 4611.patch, 1.8 KB (added by , 12 years ago) |
---|
-
bp-themes/bp-legacy/buddypress/activity/entry.php
101 101 <div class="ac-textarea"> 102 102 <textarea id="ac-input-<?php bp_activity_id(); ?>" class="ac-input" name="ac_input_<?php bp_activity_id(); ?>"></textarea> 103 103 </div> 104 <input type="submit" name="ac_form_submit" value="<?php _e( 'Post', 'buddypress' ); ?>" /> < ?php _e( 'or press esc to cancel.', 'buddypress' ); ?>104 <input type="submit" name="ac_form_submit" value="<?php _e( 'Post', 'buddypress' ); ?>" /> <a href="#" class="ac-reply-cancel"><?php _e( 'Cancel', 'buddypress' ); ?></a> 105 105 <input type="hidden" name="comment_form_id" value="<?php bp_activity_id(); ?>" /> 106 106 </div> 107 107 -
bp-themes/bp-legacy/css/buddypress.css
485 485 margin-left: 50px; 486 486 padding-left: 15px; 487 487 } 488 #buddypress div.activity-comments form div.ac-reply-content a { 489 text-decoration: none; 490 } 488 491 #buddypress .acomment-options { 489 492 float: left; 490 493 margin: 5px 0 5px 40px; -
bp-themes/bp-legacy/js/buddypress.js
601 601 } 602 602 } 603 603 }); 604 605 /* Link for cancelling comment forms */ 606 jq('.ac-reply-cancel').click( function() { 607 jq(this).closest('.ac-form').slideUp( 200 ); 608 return false; 609 }); 604 610 605 611 /**** Directory Search ****************************************************/ 606 612