Skip to content

Commit

Permalink
[js:core] remove parrotHeaders from customHeaders only when receiving…
Browse files Browse the repository at this point in the history
… an empty value

rel. #3106
  • Loading branch information
nao-pon committed Feb 10, 2020
1 parent 5ec24a0 commit b490d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/elFinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -10007,7 +10007,7 @@ elFinder.prototype = {
if (val) {
self.customHeaders[h] = val;
self.sessionStorage('core-ph:'+h, val);
} else {
} else if (typeof val === 'string') {
delete self.customHeaders[h];
self.sessionStorage('core-ph:'+h, null);
}
Expand Down

0 comments on commit b490d7b

Please sign in to comment.