|
|
@@ -46,7 +46,7 @@ mgEventHandler.on('ModalLoaded', null,function(){
|
|
|
tempTextarea.val(textToCopy).select();
|
|
|
document.execCommand("copy");
|
|
|
tempTextarea.remove();
|
|
|
- setInterval($(this).val('Wert in die Zwischenablage kopiert!'), 1000);
|
|
|
+ setInterval(tooltip($(this)), 1000);
|
|
|
});
|
|
|
});
|
|
|
function inArray(needle, haystack) {
|
|
|
@@ -56,3 +56,6 @@ function inArray(needle, haystack) {
|
|
|
}
|
|
|
return false;
|
|
|
}
|
|
|
+function tooltip($element) {
|
|
|
+ element.val('Wert in die Zwischenablage kopiert!');
|
|
|
+}
|