Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions src/extensionsIntegrated/NavigationAndHistory/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,14 @@ define(function (require, exports, module) {
}

$newItem.data("path", value.file);

// convert the virtual path to display path
var displayPath = Phoenix.app.getDisplayPath(value.file);

$newItem.data("paneId", value.paneId);
$newItem.data("cursor", value.cursor);
$newItem.data("file", fileEntry);
$newItem.attr("title", value.file);
$newItem.attr("title", displayPath); // this is for the tooltip

if (isPaneLabelReqd && value.paneId) {
$newItem.addClass(value.paneId);
Expand Down Expand Up @@ -442,8 +446,12 @@ define(function (require, exports, module) {
var $scope = $(event.target).parent();
$("#mrof-container #mrof-list > li.highlight").removeClass("highlight");
$(event.target).parent().addClass("highlight");
$mrofContainer.find("#recent-file-path").text($scope.data("path"));
$mrofContainer.find("#recent-file-path").attr('title', ($scope.data("path")));

// convert the virtual path to display path
var displayPath = Phoenix.app.getDisplayPath($scope.data("path"));
$mrofContainer.find("#recent-file-path").text(displayPath);
$mrofContainer.find("#recent-file-path").attr('title', displayPath);

$currentContext = $scope;
}

Expand Down
Loading