Index: trunk/extensions/WikiLove/WikiLove.php |
— | — | @@ -105,6 +105,7 @@ |
106 | 106 | ), |
107 | 107 | 'dependencies' => array( |
108 | 108 | 'jquery.ui.dialog', |
| 109 | + 'jquery.ui.button', |
109 | 110 | 'jquery.elastic', |
110 | 111 | ), |
111 | 112 | ), |
Index: trunk/extensions/WikiLove/wikiLove.js |
— | — | @@ -126,8 +126,7 @@ |
127 | 127 | .append( '<span class="wlOmitSig">' + mw.msg( 'wikilove-omit-sig' ) + '</span>' ) |
128 | 128 | .append( '<textarea id="wlMessage"></textarea>' ) |
129 | 129 | .append( $('<div id="wlNotify"></div>').html('<input type="checkbox" id="wlNotifyCheckbox" name="notify"/> <label for="wlNotifyCheckbox">Notify user by email</label>') ) |
130 | | - .append( '<input id="wlButtonPreview" class="submit" type="submit" value="' |
131 | | - + mw.msg( 'wikilove-button-preview' ) + '"/>' ) |
| 130 | + .append( $('<button class="submit" id="wlButtonPreview" type="submit"></button>').button({ label: mw.msg( 'wikilove-button-preview' ) }) ) |
132 | 131 | .append( spinner ) |
133 | 132 | ) |
134 | 133 | .hide(); |
— | — | @@ -138,8 +137,7 @@ |
139 | 138 | .append( '<h3>' + mw.msg( 'wikilove-preview' ) + '</h3>' ) |
140 | 139 | .append( '<div id="wlPreviewArea"></div>' ) |
141 | 140 | .append( $( '<form id="wlSendForm"></form>' ) |
142 | | - .append( '<input id="wlButtonSend" class="submit" type="submit" value="' |
143 | | - + mw.msg( 'wikilove-button-send' ) + '"/>' ) |
| 141 | + .append( $('<button class="submit" id="wlButtonSend" type="submit"></button>').button({ label: mw.msg( 'wikilove-button-send' ) }) ) |
144 | 142 | .append( spinner ) |
145 | 143 | ) |
146 | 144 | .hide(); |