aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorKruti Shah2012-06-19 10:44:12 -0700
committerKruti Shah2012-06-19 10:44:12 -0700
commitf036558a70468a8ce0910843e413012f8f779604 (patch)
tree84dc88f1d30dce78215c888cf99b680cf11efbc0 /js
parent4046fca0daee6e064ee5c67bd0826ac42af7718d (diff)
downloadninja-f036558a70468a8ce0910843e413012f8f779604.tar.gz
Lock ELements
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Diffstat (limited to 'js')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 1ef57b13..87e7bd2e 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -1119,6 +1119,17 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
1119 1119
1120 // Deselect selected layers if they're not in arrSelectedIndexes. 1120 // Deselect selected layers if they're not in arrSelectedIndexes.
1121 for (i = 0; i < arrLayersLength; i++) { 1121 for (i = 0; i < arrLayersLength; i++) {
1122
1123 debugger;
1124 if([i]===arrSelectedIndexes){
1125 if(this.arrLayers[i].layerData.isLock){
1126 this.arrLayers[i].layerData.isSelected = false;
1127 }else{
1128 this.arrLayers[i].layerData.isSelected = true;
1129 }
1130 }else{
1131 this.arrLayers[i].layerData.isSelected = false;
1132 }
1122 if (this.arrLayers[i].layerData.isSelected === true) { 1133 if (this.arrLayers[i].layerData.isSelected === true) {
1123 if (arrSelectedIndexes.indexOf(i) < 0) { 1134 if (arrSelectedIndexes.indexOf(i) < 0) {
1124 1135