Ticket #3360: 3360-1.patch
| File 3360-1.patch, 1.8 KB (added by , 15 years ago) |
|---|
-
bp-themes/bp-default/_inc/css/default.css
1530 1530 padding: 6px; 1531 1531 width: 90%; 1532 1532 } 1533 input[type="submit"].pending, 1534 input[type="button"].pending, 1535 input[type="reset"].pending, 1536 input[type="submit"].disabled, 1537 input[type="button"].disabled, 1538 input[type="reset"].disabled, 1533 1539 button.pending, 1534 1540 button.disabled, 1535 1541 div.pending a, … … 1538 1544 color: #bbb; 1539 1545 cursor: default; 1540 1546 } 1547 input[type="submit"]:hover.pending, 1548 input[type="button"]:hover.pending, 1549 input[type="reset"]:hover.pending, 1550 input[type="submit"]:hover.disabled, 1551 input[type="button"]:hover.disabled, 1552 input[type="reset"]:hover.disabled, 1541 1553 button.pending:hover, 1542 1554 button.disabled:hover, 1543 1555 div.pending a:hover, -
bp-themes/bp-default/_inc/global.js
102 102 jq("textarea#whats-new").val(''); 103 103 104 104 /* Re-enable the submit button after 8 seconds. */ 105 button.addClass('disabled'); 105 106 setTimeout( function() { button.prop("disabled", false); }, 8000 ); 106 107 } 107 108 }); … … 391 392 jq('li#activity-' + form_id[2] + ' a.acomment-reply span').html( Number( jq('li#activity-' + form_id[2] + ' a.acomment-reply span').html() ) + 1 ); 392 393 393 394 /* Re-enable the submit button after 5 seconds. */ 394 setTimeout( function() { target.prop("disabled", false); }, 5000 ); 395 target.addClass('disabled'); 396 setTimeout( function() { target.prop("disabled", false).removeClass('disabled'); }, 5000 ); 395 397 } 396 398 }); 397 399