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 +4 -4
- data/lib/render/editor/editor.html +10 -1
- data/lib/version_hook.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aca6ccc3335d87362e7bf2204846dfd086474a6bb5f708b6b47c6466a37987fb
|
4
|
+
data.tar.gz: efd23f7ec87fdd5f4aa4f5ef575df5e4efeff94f16b1a73a3b6a9afa18dec6d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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.
|
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-
|
11
|
+
date: 2018-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mumukit
|