From 6808427d3c0defa9f00884711b316f4e76ac54fc Mon Sep 17 00:00:00 2001 From: Jonathan Duran Date: Fri, 25 May 2012 14:08:44 -0700 Subject: animation name string fix Signed-off-by: Jonathan Duran --- js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'js/panels/Timeline/TimelineTrack.reel') diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js index 5839e0ac..f90e10c2 100644 --- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js +++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js @@ -747,12 +747,13 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { // check for multiple animation names var animationNameList = this.animationName.split(","); if(animationNameList.length > 1){ + this.animationNamesString = this.animationName; this.animationName = animationNameList[0]; this.getAllAnimationRules(animationNameList); + } else { + this.animationNamesString = this.animationName; } - this.animationNamesString = this.animationName; - // build tweens for this tracks's keyframe rule if(this.animationName){ trackTiming = this.application.ninja.stylesController.getElementStyle(this.animatedElement, "-webkit-animation-duration"); -- cgit v1.2.3