1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-24 13:34:27 +00:00

WebUI: MochaUI: Show entire error message

This commit is contained in:
Gabriele 2014-12-08 22:00:00 +01:00
parent aded5422d8
commit d06d7b1f6d
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -237,7 +237,7 @@ MUI.extend({
var getTitle = new RegExp("<title>[\n\r\s]*(.*)[\n\r\s]*</title>", "gmi");
var error = getTitle.exec(response.responseText);
if (!error) error = 'Unknown';
contentContainer.set('html', '<h3>Error: ' + error[1] + '</h3>');
contentContainer.set('html', '<h3>Error: ' + error + '</h3>');
if (args.recipient == 'window'){
instance.hideSpinner();
}