Loading js-apps/meep-frontend/src/js/containers/exec/event-container.js +0 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ import React, { Component } from 'react'; import { Grid, GridCell } from '@rmwc/grid'; import { Elevation } from '@rmwc/elevation'; import { Button } from '@rmwc/button'; import { Checkbox } from '@rmwc/checkbox'; import { uiExecChangeEventCreationMode, Loading js-apps/meep-frontend/src/js/containers/exec/event-replay-pane.js +12 −11 Original line number Diff line number Diff line Loading @@ -21,7 +21,6 @@ import { Checkbox } from '@rmwc/checkbox'; import { Select } from '@rmwc/select'; import { Grid, GridInner, GridCell } from '@rmwc/grid'; import { Typography } from '@rmwc/typography'; import { updateObject } from '../../util/object-util'; import { uiExecChangeReplayFileSelected } from '../../state/ui'; Loading @@ -35,7 +34,7 @@ import { execChangeReplayFilesList } from '../../state/exec'; import { EXEC_EVT_TYPE, PAGE_EXECUTE } from '../../meep-constants'; import { PAGE_EXECUTE } from '../../meep-constants'; const ReplayFileSelect = props => { return ( Loading Loading @@ -66,25 +65,27 @@ class EventReplayPane extends Component { } triggerReplay(play) { if (play) { if (this.props.replayLoop) { this.props.api.loopReplay(this.props.replayFileSelected, (error, data, response) => { this.props.api.loopReplay(this.props.replayFileSelected, (error) => { if (error) { console.log(error) // TODO consider showing an alert // console.log(error); } }); } else { this.props.api.playReplayFile(this.props.replayFileSelected, (error, data, response) => { this.props.api.playReplayFile(this.props.replayFileSelected, (error) => { if (error) { console.log(error) // TODO consider showing an alert // console.log(error); } }); } } else { //stop this.props.api.stopReplayFile(this.props.replayFileSelected, (error, data, response) => { this.props.api.stopReplayFile(this.props.replayFileSelected, (error) => { if (error) { console.log(error) // TODO consider showing an alert // console.log(error); } }); } Loading js-apps/meep-frontend/src/js/containers/exec/exec-page-container.js +3 −2 Original line number Diff line number Diff line Loading @@ -145,9 +145,10 @@ class ExecPageContainer extends Component { replayInfo.scenarioName = scenarioName; replayInfo.description = state.description; this.props.replayApi.createReplayFileFromScenarioExec(state.replayName, replayInfo, (error, data, response) => { this.props.replayApi.createReplayFileFromScenarioExec(state.replayName, replayInfo, (error) => { if (error) { console.log(error); // TODO consider showing an alert // console.log(error); } }); } Loading js-apps/meep-frontend/src/js/state/exec/api-results.js +4 −2 Original line number Diff line number Diff line Loading @@ -32,8 +32,10 @@ function execChangeReplayFilesList(replayFiles) { }; } export { EXEC_CHANGE_SCENARIO_LIST, execChangeScenarioList, EXEC_CHANGE_REPLAY_FILES_LIST, execChangeReplayFilesList }; export { EXEC_CHANGE_SCENARIO_LIST, execChangeScenarioList, EXEC_CHANGE_REPLAY_FILES_LIST, execChangeReplayFilesList }; const initialState = { scenarios: [], Loading js-apps/meep-frontend/src/js/components/dialogs/id-save-replay-dialog.js +1 −1 File changed.Contains only whitespace changes. Show changes Loading
js-apps/meep-frontend/src/js/containers/exec/event-container.js +0 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ import React, { Component } from 'react'; import { Grid, GridCell } from '@rmwc/grid'; import { Elevation } from '@rmwc/elevation'; import { Button } from '@rmwc/button'; import { Checkbox } from '@rmwc/checkbox'; import { uiExecChangeEventCreationMode, Loading
js-apps/meep-frontend/src/js/containers/exec/event-replay-pane.js +12 −11 Original line number Diff line number Diff line Loading @@ -21,7 +21,6 @@ import { Checkbox } from '@rmwc/checkbox'; import { Select } from '@rmwc/select'; import { Grid, GridInner, GridCell } from '@rmwc/grid'; import { Typography } from '@rmwc/typography'; import { updateObject } from '../../util/object-util'; import { uiExecChangeReplayFileSelected } from '../../state/ui'; Loading @@ -35,7 +34,7 @@ import { execChangeReplayFilesList } from '../../state/exec'; import { EXEC_EVT_TYPE, PAGE_EXECUTE } from '../../meep-constants'; import { PAGE_EXECUTE } from '../../meep-constants'; const ReplayFileSelect = props => { return ( Loading Loading @@ -66,25 +65,27 @@ class EventReplayPane extends Component { } triggerReplay(play) { if (play) { if (this.props.replayLoop) { this.props.api.loopReplay(this.props.replayFileSelected, (error, data, response) => { this.props.api.loopReplay(this.props.replayFileSelected, (error) => { if (error) { console.log(error) // TODO consider showing an alert // console.log(error); } }); } else { this.props.api.playReplayFile(this.props.replayFileSelected, (error, data, response) => { this.props.api.playReplayFile(this.props.replayFileSelected, (error) => { if (error) { console.log(error) // TODO consider showing an alert // console.log(error); } }); } } else { //stop this.props.api.stopReplayFile(this.props.replayFileSelected, (error, data, response) => { this.props.api.stopReplayFile(this.props.replayFileSelected, (error) => { if (error) { console.log(error) // TODO consider showing an alert // console.log(error); } }); } Loading
js-apps/meep-frontend/src/js/containers/exec/exec-page-container.js +3 −2 Original line number Diff line number Diff line Loading @@ -145,9 +145,10 @@ class ExecPageContainer extends Component { replayInfo.scenarioName = scenarioName; replayInfo.description = state.description; this.props.replayApi.createReplayFileFromScenarioExec(state.replayName, replayInfo, (error, data, response) => { this.props.replayApi.createReplayFileFromScenarioExec(state.replayName, replayInfo, (error) => { if (error) { console.log(error); // TODO consider showing an alert // console.log(error); } }); } Loading
js-apps/meep-frontend/src/js/state/exec/api-results.js +4 −2 Original line number Diff line number Diff line Loading @@ -32,8 +32,10 @@ function execChangeReplayFilesList(replayFiles) { }; } export { EXEC_CHANGE_SCENARIO_LIST, execChangeScenarioList, EXEC_CHANGE_REPLAY_FILES_LIST, execChangeReplayFilesList }; export { EXEC_CHANGE_SCENARIO_LIST, execChangeScenarioList, EXEC_CHANGE_REPLAY_FILES_LIST, execChangeReplayFilesList }; const initialState = { scenarios: [], Loading
js-apps/meep-frontend/src/js/components/dialogs/id-save-replay-dialog.js +1 −1 File changed.Contains only whitespace changes. Show changes