mirror of
https://github.com/transmission/transmission.git
synced 2026-04-26 19:55:29 +01:00
#5894: Get rid of eval() in JS code (patch by Ancient; 2nd part)
This commit is contained in:
@@ -62,8 +62,9 @@ TransmissionRemote.prototype =
|
||||
dialog.confirm('Connection Failed',
|
||||
'Could not connect to the server. You may need to reload the page to reconnect.',
|
||||
'Details',
|
||||
'alert(remote._error);',
|
||||
null,
|
||||
function() {
|
||||
alert(remote._error);
|
||||
},
|
||||
'Dismiss');
|
||||
remote._controller.togglePeriodicSessionRefresh(false);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user