Bug 808960 - Can't fetch sources packed in jar bundles when debugging chrome; r=past,vporof

This commit is contained in:
Eddy Bruel
2013-03-14 21:57:00 -07:00
parent 387cce02c9
commit 17644073c8
2 changed files with 3 additions and 3 deletions

View File

@@ -104,8 +104,8 @@ create({ constructor: SourcesView, proto: MenuContainer.prototype }, {
*/
addSource: function DVS_addSource(aSource, aOptions = {}) {
let url = aSource.url;
let label = SourceUtils.getSourceLabel(url);
let group = SourceUtils.getSourceGroup(url);
let label = SourceUtils.getSourceLabel(url.split(" -> ").pop());
let group = SourceUtils.getSourceGroup(url.split(" -> ").pop());
// Append a source item to this container.
let sourceItem = this.push([label, url, group], {