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 445-455 Link Here
445
445
446
            $(".get-file").on("click", function(e){
446
            $(".get-file").on("click", function(e){
447
                e.preventDefault();
447
                e.preventDefault();
448
                if( navigator.clipboard ){
448
                if( navigator.clipboard && navigator.clipboard.writeText){
449
                    navigator.clipboard.writeText( $(this).attr("href") );
449
                    navigator.clipboard.writeText( $(this).attr("href") );
450
                    $(this).attr("data-original-title", _( "Link copied to the clipboard" ) )
451
                        .tooltip("show");
450
                }
452
                }
451
                $(this).attr("data-original-title", _( "Link copied to the clipboard" ) )
452
                    .tooltip("show");
453
            });
453
            });
454
            $(".get-file").tooltip({
454
            $(".get-file").tooltip({
455
                delay: { "show": 100, "hide": 500 }
455
                delay: { "show": 100, "hide": 500 }
456
- 

Return to bug 27594