diff options
Diffstat (limited to 'js')
-rwxr-xr-x | js/panels/components-panel.reel/components-panel.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/panels/components-panel.reel/components-panel.js b/js/panels/components-panel.reel/components-panel.js index 87d5082d..53049cad 100755 --- a/js/panels/components-panel.reel/components-panel.js +++ b/js/panels/components-panel.reel/components-panel.js | |||
@@ -6,7 +6,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
6 | 6 | ||
7 | var Montage = require("montage/core/core").Montage, | 7 | var Montage = require("montage/core/core").Montage, |
8 | Component = require("montage/ui/component").Component, | 8 | Component = require("montage/ui/component").Component, |
9 | NJUtils = require("js/lib/NJUtils").NJUtils; | 9 | ClassUUID = require("js/components/core/class-uuid").ClassUuid; |
10 | 10 | ||
11 | var PIData = require("js/data/pi/pi-data").PiData; | 11 | var PIData = require("js/data/pi/pi-data").PiData; |
12 | 12 | ||
@@ -392,6 +392,8 @@ exports.ComponentsPanel = Montage.create(Component, { | |||
392 | 392 | ||
393 | } | 393 | } |
394 | 394 | ||
395 | el.setAttribute("data-montage-id", ClassUUID.generate()); | ||
396 | |||
395 | return el; | 397 | return el; |
396 | } | 398 | } |
397 | }, | 399 | }, |