Browse Source

Merge pull request #1755 from thinkanymore/undo_beat Closes #1512

Undo fix
pull/1775/head
Artur Arseniev 7 years ago
committed by GitHub
parent
commit
c305ce4e83
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/code_manager/model/JsGenerator.js

2
src/code_manager/model/JsGenerator.js

@ -13,7 +13,7 @@ module.exports = Backbone.Model.extend({
// If the component has scripts we need to expose his ID
var attr = model.get('attributes');
attr = extend({}, attr, { id });
model.set('attributes', attr);
model.set('attributes', attr, { silent: 1 });
var scrStr = model.getScriptString();
// If the script was updated, I'll put its code in a separate container

Loading…
Cancel
Save