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(questo) {
var u = mw.usability;
$j(
$j(
});
// Set tabindexes on form fields
$j.wikiEditor.modules.dialogs.fn.setTabindexes( $j(
}
function open(questo) {
$j(
$j( '#wikieditor-toolbar-argomento' ).focus();
if ( !( $j(
$j(
// Execute the action associated with the first button
// when the user presses Enter
$j(
if ( ( e.keyCode || e.which ) == 13 ) {
var button = $j(
button.click();
e.preventDefault();
Riga 3 085:
// Make tabbing to a button and pressing
// Enter do what people expect
$j(
$j(
});
}
var dialog = $j(
var that =
var context = $j(
var textbox = typeof context.$iframe != 'undefined' ?
context.$iframe[0].contentWindow.document : context.$textarea;
Riga 3 109:
}
function close(questo) {
var context = $j(
var textbox = typeof context.$iframe != 'undefined' ?
context.$iframe[0].contentWindow.document : context.$textarea;
$j( textbox ).unbind( 'keypress.srdialog' );
$j(
}
Riga 4 101:
</fieldset>',
init: function() {
init(this);
$j(this).data( 'Ficus', function() {
var argomento = $j( '#wikieditor-toolbar-argomento' ).val();
Riga 4 125:
},
open: function() {
open(this);
},
close: function() {
close(this);
}
}
|