Utente:Jalo/monobook.js/test: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 3 059:
tendina.options[tendina.options.length] = option;
}
function init() {
var u = mw.usability;
});
$j(this).data( 'Ficus', function() {
var argomento = $j( '#wikieditor-toolbar-argomento' ).val();
var motivo = $j( '#wikieditor-toolbar-motivazione' ).val();
var $textarea = $j(this).data( 'context' ).$textarea;
var text = $textarea.textSelection( 'getContents' );
text = "{{A|"+motivo+"|"+argomento+"|{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}|firma=~~~~}}\n"+text;
$textarea.val( text );
})
},
function open() {
Riga 4 091 ⟶ 4 110:
</fieldset>',
init: function() {
▲ $j(this).find( '[rel]' ).each( function() {
▲ $j(this).text( u.getMsg( $j(this).attr( 'rel' ) ) );
▲ // Set tabindexes on form fields
▲ $j.wikiEditor.modules.dialogs.fn.setTabindexes( $j(this).find( 'input' ).not( '[tabindex]' ) );
▲ // TODO: Find a cleaner way to share this function
$j(this).data( 'Ficus', function() {
var argomento = $j( '#wikieditor-toolbar-argomento' ).val();
|