Utente:Jalo/monobook.js/test: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 3 062:
function init(a) {
var u = mw.usability;
});
// Set tabindexes on form fields
$j.wikiEditor.modules.dialogs.fn.setTabindexes(
}
function open(a) {
$j( '#wikieditor-toolbar-argomento' ).focus();
if ( !( a.data( 'onetimeonlystuff' ) ) ) {▼
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 084 ⟶ 3 085:
// 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 109 ⟶ 3 110:
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 100 ⟶ 4 101:
</fieldset>',
init: function() {
init(
$j(this).data( 'Ficus', function() {
var argomento = $j( '#wikieditor-toolbar-argomento' ).val();
Riga 4 124 ⟶ 4 125:
},
open: function() {
open(
},
close: function() {
close(
}
}
|