mumuki-gobstones-runner 1.7.0 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e210e6371b549652dc5674fc497e318fef8e35ebe40475df597890eb8849415
4
- data.tar.gz: 5114a8be2ba04408f937540d1162dcb1ab21751f315be62cf255b5a1a6e96cbc
3
+ metadata.gz: aca6ccc3335d87362e7bf2204846dfd086474a6bb5f708b6b47c6466a37987fb
4
+ data.tar.gz: efd23f7ec87fdd5f4aa4f5ef575df5e4efeff94f16b1a73a3b6a9afa18dec6d9
5
5
  SHA512:
6
- metadata.gz: c80289661f04949fc935516c9c9789881c1629b955d87cfe736ff4fed25afe92710706e1bea8c40bcbbbbe4a0c0995047e5287d2471f094ba7a08a830b41d316
7
- data.tar.gz: 5fb6d3275bdf2cd8abf4a15426776d991059f439df46f517159d172d9638423b08051afb4c18298288b12fce510f6ab3545fcfe15833363cd6a7a58862be39ba
6
+ metadata.gz: 96924002bb61f819b2c64c78e458118096e1c2bc3a0bc7e3c114cba3f6ccd547eddf3dd69459017193d012bbc543d74930d9c6683ad64b623da3185cb5f1a79b
7
+ data.tar.gz: 7d2629f4763d1427a3436eb4a2905310fb492a0dcfff9bedfbe79ec8c6aca1f2a218323f77f6ac39bf861487280bcaaa23a7750a00b5db05c8d3165231008037
@@ -93,7 +93,7 @@
93
93
  };
94
94
 
95
95
  const triggerResizeOnContextModalClose = () => {
96
- $('#kids-context, #kids-results').on('hidden.bs.modal shown.bs.modal', function () {
96
+ $('#kids-context, #kids-results, #kids-results-aborted').on('hidden.bs.modal shown.bs.modal', function () {
97
97
  localOnResize();
98
98
  })
99
99
  };
@@ -318,6 +318,13 @@
318
318
 
319
319
  ready: function () {
320
320
 
321
+ const resetStatusAfterAborted = () => {
322
+ $('#kids-results-aborted').on('hidden.bs.modal', () => {
323
+ this.$.runner.isDirty = false;
324
+ this._onResetState();
325
+ })
326
+ };
327
+
321
328
  const setInitialState = () => {
322
329
  const initialBoard = this._getTargetBoard();
323
330
  if (!initialBoard.size) return setTimeout(setInitialState, 50);
@@ -327,6 +334,8 @@
327
334
  table: initialBoard.table,
328
335
  header: initialBoard.header
329
336
  };
337
+
338
+ resetStatusAfterAborted();
330
339
  }
331
340
 
332
341
  setInitialState();
data/lib/version_hook.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module GobstonesVersionHook
2
- VERSION = '1.7.0'
2
+ VERSION = '1.7.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-gobstones-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Alfonso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-25 00:00:00.000000000 Z
11
+ date: 2018-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit