Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/files/js/filelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -2102,6 +2102,7 @@
} catch (error) {
input.attr('title', error);
input.tooltip({placement: 'right', trigger: 'manual'});
input.tooltip('fixTitle');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: I cannot see how to really test this one. To get to this try-catch the user has to be able to get past the char-by-char validation which actually will have caught the same validation checks. Looking through the code in try{} there are not any obvious other errors that will be thrown. In any case, this extra code will be needed here, just as in newfilemenu.js and #27958

input.tooltip('show');
input.addClass('error');
}
Expand Down
1 change: 1 addition & 0 deletions apps/files/js/newfilemenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
} catch (error) {
$input.attr('title', error);
$input.tooltip({placement: 'right', trigger: 'manual'});
$input.tooltip('fixTitle');
$input.tooltip('show');
$input.addClass('error');
}
Expand Down