r88910 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88909‎ | r88910 | r88911 >
Date:18:36, 26 May 2011
Author:kaldari
Status:ok
Tags:
Comment:
fixing error resetting
Modified paths:
  • /trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.core.js (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.core.js
@@ -194,7 +194,7 @@
195195 * Called when type or subtype changes, updates controls.
196196 */
197197 updateAllDetails: function() {
198 - $( '#wikiLoveDialog' ).find( '.mw-wikilove-error' ).remove();
 198+ $( '#mw-wikilove-dialog' ).find( '.mw-wikilove-error' ).remove();
199199
200200 // only show the description if it exists for this type or subtype
201201 if( typeof $.wikiLove.currentTypeOrSubtype.descr == 'string' ) {
@@ -264,7 +264,7 @@
265265 submitPreview: function( e ) {
266266 e.preventDefault();
267267 $( '#mw-wikilove-preview' ).hide();
268 - $( '#wikiLoveDialog' ).find( '.wlError' ).remove();
 268+ $( '#mw-wikilove-dialog' ).find( '.wlError' ).remove();
269269
270270 if( typeof $.wikiLove.currentTypeOrSubtype.gallery == 'object' ) {
271271 if ( $( '#mw-wikilove-image' ).val().length <= 0 ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r88934missed one, follow-up to r88910 (error message resetting)kaldari21:12, 26 May 2011

Status & tagging log