Merge pull request #253 from nathandinsmore/issue-244

Fixed issue #244 (relabelling now preserves empty input slots)
pull/3/merge
Jens Mönig 2013-11-26 09:28:44 -08:00
commit e29787cdc7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -2256,7 +2256,7 @@ BlockMorph.prototype.restoreInputs = function (oldInputs) {
if (old instanceof ReporterBlockMorph) {
myself.silentReplaceInput(inp, old.fullCopy());
} else if (old && inp instanceof InputSlotMorph) {
inp.setContents(old.evaluate());
inp.setContents(old.contents().text);
}
i += 1;
});