@instructure/quiz-core 17.44.1-rc.3 → 17.44.1-rc.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,14 +63,16 @@ export var StimulusEdit = (_dec = themeable(theme, styles), _dec(_class = (_temp
63
63
 
64
64
  _this.clearModifications = function () {
65
65
  _this.props.clearModifications('stimuli', _this.props.stimulus.id);
66
- };
67
66
 
68
- _this.onCancel = function (e) {
69
- _this.props.hideError(_this.props.guid);
67
+ _this.props.clearModifications('quizEntries', _this.props.quizEntry.id);
70
68
 
71
69
  if (_this.props.stimulus.isTemporary()) {
72
70
  _this.props.clearTemporaryStimulus(_this.props.quizId);
73
71
  }
72
+ };
73
+
74
+ _this.onCancel = function (e) {
75
+ _this.props.hideError(_this.props.guid);
74
76
 
75
77
  _this.props.switchOffEditing();
76
78
 
@@ -100,14 +100,16 @@ var StimulusEdit = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles),
100
100
 
101
101
  _this.clearModifications = function () {
102
102
  _this.props.clearModifications('stimuli', _this.props.stimulus.id);
103
- };
104
103
 
105
- _this.onCancel = function (e) {
106
- _this.props.hideError(_this.props.guid);
104
+ _this.props.clearModifications('quizEntries', _this.props.quizEntry.id);
107
105
 
108
106
  if (_this.props.stimulus.isTemporary()) {
109
107
  _this.props.clearTemporaryStimulus(_this.props.quizId);
110
108
  }
109
+ };
110
+
111
+ _this.onCancel = function (e) {
112
+ _this.props.hideError(_this.props.guid);
111
113
 
112
114
  _this.props.switchOffEditing();
113
115
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "17.44.1-rc.3+fd0d48d4e",
3
+ "version": "17.44.1-rc.6+9400830e1",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -41,11 +41,11 @@
41
41
  ],
42
42
  "dependencies": {
43
43
  "@instructure/outcomes-ui": "^2.1.2",
44
- "@instructure/quiz-common": "17.44.1-rc.3+fd0d48d4e",
45
- "@instructure/quiz-i18n": "17.44.1-rc.3+fd0d48d4e",
46
- "@instructure/quiz-interactions": "17.44.1-rc.3+fd0d48d4e",
47
- "@instructure/quiz-number-input": "17.44.1-rc.3+fd0d48d4e",
48
- "@instructure/quiz-rce": "17.44.1-rc.3+fd0d48d4e",
44
+ "@instructure/quiz-common": "17.44.1-rc.6+9400830e1",
45
+ "@instructure/quiz-i18n": "17.44.1-rc.6+9400830e1",
46
+ "@instructure/quiz-interactions": "17.44.1-rc.6+9400830e1",
47
+ "@instructure/quiz-number-input": "17.44.1-rc.6+9400830e1",
48
+ "@instructure/quiz-rce": "17.44.1-rc.6+9400830e1",
49
49
  "@instructure/ui-a11y-content": "^7.20.0",
50
50
  "@instructure/ui-alerts": "^7.20.0",
51
51
  "@instructure/ui-avatar": "^7.20.0",
@@ -106,7 +106,7 @@
106
106
  "eventemitter3": "^3.1.0",
107
107
  "humps": "^2.0.0",
108
108
  "immutable": "^3.8.1",
109
- "instructure-validations": "17.44.1-rc.3+fd0d48d4e",
109
+ "instructure-validations": "17.44.1-rc.6+9400830e1",
110
110
  "ipaddr.js": "^1.5.4",
111
111
  "isomorphic-fetch": "^2.2.0",
112
112
  "isuuid": "^0.1.0",
@@ -156,7 +156,7 @@
156
156
  "intl": "^1.2.4",
157
157
  "jquery": "^2.2.3",
158
158
  "most-subject": "^5.3.0",
159
- "quiz-presets": "17.44.1-rc.3+fd0d48d4e",
159
+ "quiz-presets": "17.44.1-rc.6+9400830e1",
160
160
  "react": "^16.8.6",
161
161
  "react-addons-test-utils": "^15.6.2",
162
162
  "react-dom": "^16.8.6",
@@ -172,5 +172,5 @@
172
172
  "publishConfig": {
173
173
  "access": "public"
174
174
  },
175
- "gitHead": "fd0d48d4e424f8161358ac8dc5d91b57aab48660"
175
+ "gitHead": "9400830e1d5a686001e2ae137a4b04da0c78c254"
176
176
  }