Merge pull request #460 from dhartung/feedback-for-stream-link-copy
Added toast notification when copy-stream is executed
This commit is contained in:
@@ -319,6 +319,10 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'appRouter',
|
||||
textArea.select();
|
||||
try {
|
||||
document.execCommand('copy');
|
||||
|
||||
require(['toast'], function (toast) {
|
||||
toast(globalize.translate('CopyStreamURLSuccess'));
|
||||
});
|
||||
} catch (err) {
|
||||
console.error("Failed to copy to clipboard");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user