mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
WebUI: MochaUI: Show entire error message
This commit is contained in:
parent
aded5422d8
commit
d06d7b1f6d
2 changed files with 2 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue