Fix unicode handling in the external process tools and show the complete command in the process viewer. Fixes #2963. Fixes #3157.

This commit is contained in:
Khushboo Vashi
2018-03-13 16:45:20 -04:00
committed by Dave Page
parent 876ce1799a
commit 802269910c
3 changed files with 38 additions and 9 deletions

View File

@@ -248,7 +248,7 @@ define('misc.bgprocess', [
if (!self.notifier) {
var header = $('<div></div>', {
class: 'h5 pg-bg-notify-header',
}).append($('<span></span>').text(self.desc)),
}).append($('<span></span>').text(_.unescape(self.desc))),
content = $('<div class="pg-bg-bgprocess row"></div>').append(
header
).append(
@@ -366,7 +366,7 @@ define('misc.bgprocess', [
self.logs[0].scrollTop = self.logs[0].scrollHeight;
});
// set bgprocess detailed description
$header.find('.bg-detailed-desc').html(self.detailed_desc);
$header.find('.bg-detailed-desc').html(_.unescape(self.detailed_desc));
}
// set bgprocess start time
@@ -562,4 +562,4 @@ define('misc.bgprocess', [
});
return pgBrowser.BackgroundProcessObsorver;
});
});