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 471-481 Link Here
471
471
472
            $(".get-file").on("click", function(e){
472
            $(".get-file").on("click", function(e){
473
                e.preventDefault();
473
                e.preventDefault();
474
                if( navigator.clipboard ){
474
                if( navigator.clipboard && navigator.clipboard.writeText){
475
                    navigator.clipboard.writeText( $(this).attr("href") );
475
                    navigator.clipboard.writeText( $(this).attr("href") );
476
                    $(this).attr("data-original-title", _( "Link copied to the clipboard" ) )
477
                        .tooltip("show");
476
                }
478
                }
477
                $(this).attr("data-original-title", _( "Link copied to the clipboard" ) )
478
                    .tooltip("show");
479
            });
479
            });
480
            $(".get-file").tooltip({
480
            $(".get-file").tooltip({
481
                delay: { "show": 100, "hide": 500 }
481
                delay: { "show": 100, "hide": 500 }
482
- 

Return to bug 27594