adapt-authoring-ui 3.0.2 → 3.0.3

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.
@@ -164,8 +164,9 @@ define(function(require) {
164
164
  }, {
165
165
  success: model => {
166
166
  this.presets.add(model);
167
+ this.updatePresetSelect();
167
168
  this.updateRestorePresetButton(false);
168
- window.setTimeout(() => this.$('.preset select').val(model.get('_id')), 1);
169
+ this.$('.preset select').val(model.get('_id'));
169
170
  },
170
171
  error: this.onError
171
172
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-ui",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Front-end application for the Adapt authoring tool",
5
5
  "homepage": "https://github.com/adapt-security/adapt-authoring-ui",
6
6
  "license": "GPL-3.0",