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
build: Replace jscs+jshint with eslint
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki
/
mediawiki.feedback.js
diff --git
a/resources/src/mediawiki/mediawiki.feedback.js
b/resources/src/mediawiki/mediawiki.feedback.js
index
989e6db
..
6abdf83
100644
(file)
--- a/
resources/src/mediawiki/mediawiki.feedback.js
+++ b/
resources/src/mediawiki/mediawiki.feedback.js
@@
-6,8
+6,6
@@
* @author Moriel Schottlender, 2015
* @since 1.19
*/
* @author Moriel Schottlender, 2015
* @since 1.19
*/
-/*jshint esversion:5 */
-/*global OO*/
( function ( mw, $ ) {
/**
* This is a way of getting simple feedback from users. It's useful
( function ( mw, $ ) {
/**
* This is a way of getting simple feedback from users. It's useful
@@
-200,12
+198,12
@@
{
action: 'submit',
label: mw.msg( 'feedback-submit' ),
{
action: 'submit',
label: mw.msg( 'feedback-submit' ),
- flags: [ 'primary', '
construct
ive' ]
+ flags: [ 'primary', '
progress
ive' ]
},
{
action: 'external',
label: mw.msg( 'feedback-external-bug-report-button' ),
},
{
action: 'external',
label: mw.msg( 'feedback-external-bug-report-button' ),
- flags: '
construct
ive'
+ flags: '
progress
ive'
},
{
action: 'cancel',
},
{
action: 'cancel',
@@
-296,7
+294,7
@@
this.feedbackSubjectInput.getValue()
);
this.feedbackSubjectInput.getValue()
);
- this.actions.setAbilities( { submit:
isValid } );
+ this.actions.setAbilities( { submit: isValid } );
};
/**
};
/**
@@
-458,10
+456,10
@@
if ( secondaryCode === 'http' ) {
fb.status = 'error3';
// ajax request failed
if ( secondaryCode === 'http' ) {
fb.status = 'error3';
// ajax request failed
- mw.log.warn( 'Feedback report failed with HTTP error: ' +
details.textStatus );
+ mw.log.warn( 'Feedback report failed with HTTP error: ' + details.textStatus );
} else {
fb.status = 'error2';
} else {
fb.status = 'error2';
- mw.log.warn( 'Feedback report failed with API error: ' +
secondaryCode );
+ mw.log.warn( 'Feedback report failed with API error: ' + secondaryCode );
}
} else {
fb.status = 'error1';
}
} else {
fb.status = 'error1';