mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
Revert "Add option to set id on toolbox"
This commit is contained in:
@@ -202,10 +202,6 @@ Blockly.Toolbox.prototype.populate_ = function(newTree) {
|
||||
var childOut = rootOut.createNode(childIn.getAttribute('name'));
|
||||
childOut.blocks = [];
|
||||
treeOut.add(childOut);
|
||||
var customId = childIn.getAttribute('id');
|
||||
if (customId) {
|
||||
childOut.setId(customId);
|
||||
}
|
||||
var custom = childIn.getAttribute('custom');
|
||||
if (custom) {
|
||||
// Variables and procedures are special dynamic categories.
|
||||
|
||||
Reference in New Issue
Block a user