#5894: Get rid of eval() in JS code (patch by Ancient; 2nd part)

This commit is contained in:
Mike Gelfand
2015-04-23 19:30:40 +00:00
parent fd8e1e25a4
commit cd8ed4ff10
3 changed files with 19 additions and 12 deletions

View File

@@ -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);
},