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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc (-1 / +1 lines)
Lines 233-239 function KohaTable(id_selector, dt_parameters, table_settings, add_filters) { Link Here
233
                    let url = window.location.origin + window.location.pathname + '?' + searchParams.toString() + window.location.hash;
233
                    let url = window.location.origin + window.location.pathname + '?' + searchParams.toString() + window.location.hash;
234
                    if( navigator.clipboard && navigator.clipboard.writeText){
234
                    if( navigator.clipboard && navigator.clipboard.writeText){
235
                        navigator.clipboard.writeText( url );
235
                        navigator.clipboard.writeText( url );
236
                        // TODO Add tooltip "State copied to the clipboard"
236
                        $(node).tooltip({trigger: 'manual', title: _("Copied!")}).tooltip('show');
237
                    }
237
                    }
238
                },
238
                },
239
            }
239
            }
(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-2 / +1 lines)
Lines 779-785 function _dt_buttons(params){ Link Here
779
                    let url = window.location.origin + window.location.pathname + '?' + searchParams.toString() + window.location.hash;
779
                    let url = window.location.origin + window.location.pathname + '?' + searchParams.toString() + window.location.hash;
780
                    if( navigator.clipboard && navigator.clipboard.writeText){
780
                    if( navigator.clipboard && navigator.clipboard.writeText){
781
                        navigator.clipboard.writeText( url );
781
                        navigator.clipboard.writeText( url );
782
                        // TODO Add tooltip "State copied to the clipboard"
782
                        $(node).tooltip({trigger: 'manual', title: _("Copied!")}).tooltip('show');
783
                    }
783
                    }
784
                },
784
                },
785
            }
785
            }
786
- 

Return to bug 33484