Upgrade to latest React 16 (16.14.0), fix problems found when doing so.
This commit is contained in:
parent
e27c99baa2
commit
1685191640
@ -105,7 +105,7 @@ var arcade_management = createReactClass({
|
||||
event.preventDefault();
|
||||
},
|
||||
|
||||
togglePaseliEnabled: function(event) {
|
||||
togglePaseliEnabled: function() {
|
||||
this.setState({paseli_enabled_saving: true})
|
||||
AJAX.post(
|
||||
Link.get('paseli_enabled'),
|
||||
@ -117,10 +117,9 @@ var arcade_management = createReactClass({
|
||||
});
|
||||
}.bind(this)
|
||||
);
|
||||
event.preventDefault();
|
||||
},
|
||||
|
||||
togglePaseliInfinite: function(event) {
|
||||
togglePaseliInfinite: function() {
|
||||
this.setState({paseli_infinite_saving: true})
|
||||
AJAX.post(
|
||||
Link.get('paseli_infinite'),
|
||||
@ -132,10 +131,9 @@ var arcade_management = createReactClass({
|
||||
});
|
||||
}.bind(this)
|
||||
);
|
||||
event.preventDefault();
|
||||
},
|
||||
|
||||
toggleMaskServicesURL: function(event) {
|
||||
toggleMaskServicesURL: function() {
|
||||
this.setState({mask_services_url_saving: true})
|
||||
AJAX.post(
|
||||
Link.get('mask_services_url'),
|
||||
@ -147,7 +145,6 @@ var arcade_management = createReactClass({
|
||||
});
|
||||
}.bind(this)
|
||||
);
|
||||
event.preventDefault();
|
||||
},
|
||||
|
||||
addBalance: function(event) {
|
||||
|
@ -82,7 +82,7 @@ var settings_view = createReactClass({
|
||||
event.preventDefault();
|
||||
},
|
||||
|
||||
toggleEarlyLate: function(event) {
|
||||
toggleEarlyLate: function() {
|
||||
this.setState({saving_early_late: true})
|
||||
AJAX.post(
|
||||
Link.get('updateearlylate'),
|
||||
@ -99,10 +99,9 @@ var settings_view = createReactClass({
|
||||
});
|
||||
}.bind(this)
|
||||
);
|
||||
event.preventDefault();
|
||||
},
|
||||
|
||||
toggleBackgroundCombo: function(event) {
|
||||
toggleBackgroundCombo: function() {
|
||||
this.setState({saving_background_combo: true})
|
||||
AJAX.post(
|
||||
Link.get('updatebackgroundcombo'),
|
||||
@ -119,7 +118,6 @@ var settings_view = createReactClass({
|
||||
});
|
||||
}.bind(this)
|
||||
);
|
||||
event.preventDefault();
|
||||
},
|
||||
|
||||
saveName: function(event) {
|
||||
|
0
bemani/frontend/static/jquery-confirm.css
Executable file → Normal file
0
bemani/frontend/static/jquery-confirm.css
Executable file → Normal file
0
bemani/frontend/static/jquery-confirm.js
vendored
Executable file → Normal file
0
bemani/frontend/static/jquery-confirm.js
vendored
Executable file → Normal file
243
bemani/frontend/static/react-dom.min.js
vendored
243
bemani/frontend/static/react-dom.min.js
vendored
File diff suppressed because one or more lines are too long
32
bemani/frontend/static/react.min.js
vendored
32
bemani/frontend/static/react.min.js
vendored
File diff suppressed because one or more lines are too long
@ -54,6 +54,14 @@ div.navigation {
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 600px) {
|
||||
div.jconfirm-box-container {
|
||||
margin-left: 25%;
|
||||
margin-right: 25%;
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (hover: none) {
|
||||
.tinynav {
|
||||
display: inline-block;
|
||||
|
@ -48,6 +48,14 @@ div.navigation {
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 600px) {
|
||||
div.jconfirm-box-container {
|
||||
margin-left: 25%;
|
||||
margin-right: 25%;
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (hover: none) {
|
||||
.tinynav {
|
||||
display: inline-block;
|
||||
|
Loading…
Reference in New Issue
Block a user