Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Issue 1508 #1926

Merged
merged 3 commits into from
Oct 25, 2012
Merged

Issue 1508 #1926

merged 3 commits into from
Oct 25, 2012

Conversation

jeffslofish
Copy link
Contributor

For the recent projects dropdown, it will now just show "/" (with no "-" after it) if you select the entire hard-drive in OSX. Same thing for the current project.

@ghost ghost assigned RaymondLim Oct 24, 2012
@RaymondLim
Copy link
Contributor

Thanks for fixing this. You're pretty close, but I still see the original issue and you need to make one more change I put in the line comment.

@@ -86,15 +86,15 @@ define(function (require, exports, module) {
lastSlash = path.slice(0, path.length - 1).lastIndexOf("/");
}
if (lastSlash >= 0) {
rest = path.slice(0, lastSlash);
rest = " - " + path.slice(0, lastSlash);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to change it to rest = " - " + (lastSlash ? path.slice(0, lastSlash) : "/");

Otherwise, you won't see the slash after a project name that is using one of the root folders in your Mac Volumes. ie. the original issue is not fixed yet, but the other issue of having the mac volume as your project folder is fixed.

@RaymondLim
Copy link
Contributor

Done with initial review.

@RaymondLim
Copy link
Contributor

Thanks. Merging.

RaymondLim added a commit that referenced this pull request Oct 25, 2012
@RaymondLim RaymondLim merged commit 23c03af into adobe:master Oct 25, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants