dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "ImageListPager: Kill that annoying GROUP BY"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.special.apisandbox
/
apisandbox.js
diff --git
a/resources/src/mediawiki.special.apisandbox/apisandbox.js
b/resources/src/mediawiki.special.apisandbox/apisandbox.js
index
3762ae7
..
83a39d4
100644
(file)
--- a/
resources/src/mediawiki.special.apisandbox/apisandbox.js
+++ b/
resources/src/mediawiki.special.apisandbox/apisandbox.js
@@
-977,6
+977,7
@@
// OO.ui.ButtonWidget doesn't take focus itself (T128054)
$focus = $( '#mw-apisandbox-ui' ).find( document.activeElement );
if ( $focus.length ) {
// OO.ui.ButtonWidget doesn't take focus itself (T128054)
$focus = $( '#mw-apisandbox-ui' ).find( document.activeElement );
if ( $focus.length ) {
+ // eslint-disable-next-line jquery/no-event-shorthand
$focus[ 0 ].blur();
}
$focus[ 0 ].blur();
}
@@
-1568,7
+1569,7
@@
// it makes it too hard to read and our "disabled"
// isn't really disabled.
widgetField.onFieldDisable( false );
// it makes it too hard to read and our "disabled"
// isn't really disabled.
widgetField.onFieldDisable( false );
- widgetField.onFieldDisable =
$.noop
;
+ widgetField.onFieldDisable =
function () {}
;
widgetField.apiParamIndex = ppi.index;
widgetField.apiParamIndex = ppi.index;
@@
-1756,7
+1757,7
@@
widget = Util.createWidgetForParameter( {
name: name,
type: 'string',
widget = Util.createWidgetForParameter( {
name: name,
type: 'string',
-
'default'
: ''
+
default
: ''
}, {
nooptional: true
} );
}, {
nooptional: true
} );
@@
-1943,6
+1944,7
@@
}
that.deprecatedItemsFieldset = new OO.ui.FieldsetLayout().addItems( deprecatedItems ).toggle( false );
}
that.deprecatedItemsFieldset = new OO.ui.FieldsetLayout().addItems( deprecatedItems ).toggle( false );
+ // eslint-disable-next-line jquery/no-animate-toggle
tmp = $( '<fieldset>' )
.toggle( !that.deprecatedItemsFieldset.isEmpty() )
.append(
tmp = $( '<fieldset>' )
.toggle( !that.deprecatedItemsFieldset.isEmpty() )
.append(