Artur Arseniev
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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
|
|
|
|
|