Index: trunk/extensions/Translate/resources/ext.translate.messagetable.js |
— | — | @@ -29,7 +29,12 @@ |
30 | 30 | format: "json" |
31 | 31 | }; |
32 | 32 | $b.val( mw.msg( "translate-messagereview-progress" ) ); |
33 | | - $b.prop( "disabled", true ); |
| 33 | + // BC for MW < 1.18 |
| 34 | + if ( typeof $b.prop === "undefined" ) { |
| 35 | + $b.attr( "disabled", "disabled ); |
| 36 | + } else { |
| 37 | + $b.prop( "disabled", true ); |
| 38 | + } |
34 | 39 | $.post( mw.util.wikiScript( "api" ), params, successFunction ).fail( failFunction ); |
35 | 40 | } ); |
36 | 41 | } ); |