View | Details | Raw Unified | Return to bug 27594
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt (-4 / +3 lines)
Lines 438-448 Link Here
438
438
439
            $(".get-file").on("click", function(e){
439
            $(".get-file").on("click", function(e){
440
                e.preventDefault();
440
                e.preventDefault();
441
                if( navigator.clipboard ){
441
                if( navigator.clipboard && navigator.clipboard.writeText){
442
                    navigator.clipboard.writeText( $(this).attr("href") );
442
                    navigator.clipboard.writeText( $(this).attr("href") );
443
                    $(this).attr("data-original-title", _( "Link copied to the clipboard" ) )
444
                        .tooltip("show");
443
                }
445
                }
444
                $(this).attr("data-original-title", _( "Link copied to the clipboard" ) )
445
                    .tooltip("show");
446
            });
446
            });
447
            $(".get-file").tooltip({
447
            $(".get-file").tooltip({
448
                delay: { "show": 100, "hide": 500 }
448
                delay: { "show": 100, "hide": 500 }
449
- 

Return to bug 27594