Skip to content

Commit

Permalink
Bug Fix Issues jgke#7
Browse files Browse the repository at this point in the history
Bug Fix Issues jgke#7
SyntaxError: redeclaration of formal parameter fields
in gnome-shell 3.28
  • Loading branch information
seokhee-lee committed Mar 18, 2020
1 parent bb530cb commit 7352320
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ const AbstractAgent = new Lang.Class({

RequestInputAsync: function([service, fields], invocation) {
Logger.logDebug('Requested password');
let fields = Object.keys(fields)
let __fields = Object.keys(fields)
.map(function(key) {
fields[key] = fields[key].deep_unpack();
Object.keys(fields[key]).map(function(innerKey) {
fields[key][innerKey] = fields[key][innerKey].deep_unpack();
__fields[key] = __fields[key].deep_unpack();
Object.keys(__fields[key]).map(function(innerKey) {
__fields[key][innerKey] = __fields[key][innerKey].deep_unpack();
});
return [key, fields[key]];
return [key, __fields[key]];
});
let dialogFields = [];
for(let i = 0; i < fields.length; i++)
Expand Down

0 comments on commit 7352320

Please sign in to comment.