|
@@ -46,7 +46,7 @@ mgEventHandler.on('ModalLoaded', null,function(){
|
|
|
tempTextarea.val(textToCopy).select();
|
|
tempTextarea.val(textToCopy).select();
|
|
|
document.execCommand("copy");
|
|
document.execCommand("copy");
|
|
|
tempTextarea.remove();
|
|
tempTextarea.remove();
|
|
|
- $(this).val('Wert in die Zwischenablage kopiert!');
|
|
|
|
|
|
|
+ setInterval($(this).val('Wert in die Zwischenablage kopiert!'), 1000);
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
function inArray(needle, haystack) {
|
|
function inArray(needle, haystack) {
|
|
@@ -55,4 +55,4 @@ function inArray(needle, haystack) {
|
|
|
if (haystack[i] === needle) return true;
|
|
if (haystack[i] === needle) return true;
|
|
|
}
|
|
}
|
|
|
return false;
|
|
return false;
|
|
|
-}
|
|
|
|
|
|
|
+}
|