Utente:Jalo/monobook.js/test: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 3 060:
}
function init(a) {
var u = mw.usability;
});
// Set tabindexes on form fields
$j.wikiEditor.modules.dialogs.fn.setTabindexes(
}
function open(a) {
if ( !(
// Execute the action associated with the first button
// when the user presses Enter
if ( ( e.keyCode || e.which ) == 13 ) {
var button =
button.click();
e.preventDefault();
Riga 3 094 ⟶ 3 084:
// Make tabbing to a button and pressing
// Enter do what people expect
});
}
var dialog =
var that =
var context =
var textbox = typeof context.$iframe != 'undefined' ?
context.$iframe[0].contentWindow.document : context.$textarea;
Riga 3 118 ⟶ 3 108:
}
function close(a) {
var context =
var textbox = typeof context.$iframe != 'undefined' ?
context.$iframe[0].contentWindow.document : context.$textarea;
$j( textbox ).unbind( 'keypress.srdialog' );
}
Riga 4 110 ⟶ 4 100:
</fieldset>',
init: function() {
init($j(this));
$j(this).data( 'Ficus', function() {
var argomento = $j( '#wikieditor-toolbar-argomento' ).val();
Riga 4 134 ⟶ 4 124:
},
open: function() {
open($j(this));
},
close: function() {
close($j(this));
}
}
|