- }
- Target *target = configsController.currentConfig[jsaction];
-
- id act = jsaction;
- NSString* actFullName = [act name];
- while([act base]) {
- act = [act base];
- actFullName = [[NSString alloc] initWithFormat:@"%@ > %@", [act name], actFullName];
- }
+ }
+
+ Target *target = [self currentTarget];
+ NSString *actFullName = act.name;
+ for (JSAction *cur = act.base; cur; cur = cur.base) {
+ actFullName = [[NSString alloc] initWithFormat:@"%@ > %@", cur.name, actFullName];
+ }