fixed "Staatsgalerie bug" - "relabel" did not restore drop-down choice when localized

pull/89/head
jmoenig 2019-01-19 23:29:12 +01:00
rodzic 1697be02d3
commit 0695ac2883
3 zmienionych plików z 8 dodań i 2 usunięć

Wyświetl plik

@ -2,6 +2,9 @@
## in development
### 2019-01-19
* fixed "Staatsgalerie bug" - relabel did not restore drop-down choice when localized
### 2019-01-17
* Greek translation update, thanks, Alexandros Prekates!
* cloud: user role support, thanks, Bernat

Wyświetl plik

@ -6,7 +6,7 @@
<link rel="shortcut icon" href="src/favicon.ico">
<script type="text/javascript" src="src/morphic.js?version=2019-01-10"></script>
<script type="text/javascript" src="src/widgets.js?version=2018-10-02"></script>
<script type="text/javascript" src="src/blocks.js?version=2019-01-16"></script>
<script type="text/javascript" src="src/blocks.js?version=2019-01-19"></script>
<script type="text/javascript" src="src/threads.js?version=2019-01-12"></script>
<script type="text/javascript" src="src/objects.js?version=2019-01-14"></script>
<script type="text/javascript" src="src/gui.js?version=2019-01-17"></script>

Wyświetl plik

@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/
// Global stuff ////////////////////////////////////////////////////////
modules.blocks = '2019-January-16';
modules.blocks = '2019-January-19';
var SyntaxElementMorph;
var BlockMorph;
@ -3047,6 +3047,9 @@ BlockMorph.prototype.restoreInputs = function (oldInputs) {
// "fix" may be wrong b/c constants
if (old.contents) {
inp.setContents(old.contents().text);
if (old.constant) {
inp.constant = old.constant;
}
}
} else if (old instanceof CSlotMorph && inp instanceof CSlotMorph) {
nb = old.nestedBlock();