MediaWiki:Gadget-tradLink.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Fix |
miglioramento |
||
Riga 72:
} );
this.addError = function ( error ) {
this.errorContainer.setLabel(
new OO.ui.HtmlSnippet( '<span style="color: red; font-size: 120%; font-weight: bold">' + error + '</span>' )
);
};
this.clearError = function () {
this.errorContainer.setLabel( '' );
};
fieldsetLayout.on( 'change', this.clearError );
this.panelLayout = new OO.ui.PanelLayout( { padded: true, expanded: false } );
| |||