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:
parent
aded5422d8
commit
d06d7b1f6d
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…
x
Reference in New Issue
Block a user