Skip to content

Commit

Permalink
1.0.rev34
Browse files Browse the repository at this point in the history
-If temp profile I tried to create to make the first item be "Temporary Profile" and still allow user to expand menu and work there, but for now a quick fix, I just disable it but make it read "Temporary File". {Fixes #1 - topic creator issue, this issue really had two issues in one}
  • Loading branch information
Noitidart committed May 1, 2014
1 parent 3618ba3 commit 6c0a6de
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,17 @@ function updateProfToolkit(refreshIni, refreshStack, iDOMWindow) {
}
}
//profToolkit.selectedProfile.name = 1;
if (!profToolkit.selectedProfile.name) {
console.log('selectedProfile.name not found so I ASSUME IT IS A TEMP PROFILE')
console.log('trying to change label')
var profilistLoadingT = Services.wm.getMostRecentWindow('navigator:browser').document.querySelector('#profilistLoading');
if (profilistLoadingT) {
console.log('profilistLoadingT found')
profilistLoadingT.setAttribute('label', 'Temporary Profile');
profilistLoadingT.setAttribute('id', 'profilistTempProfile');
return new Error('Using Temporary Profile - Profilist will not work');
}
}
console.log('selectedProfile searching proc done');
}

Expand Down

0 comments on commit 6c0a6de

Please sign in to comment.