This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Since I like to log a bit, and making it clear where a UE_LOG comes from is | |
/// usually a bit of a pain, I'm now using these logs and macro's in my code. | |
/// This should help make logs a bit clearer and easier to write; | |
/// | |
/// Example usage: MY_LOG("Input vector %s", *Value.ToString()); | |
/// Example output: | |
/// Sun Feb 11 23:20:27 CET 2024 Display MY_GAME [Client] AMyPlayerController::Move: Input vector X=1.000 Y=0.000 | |
/// | |
/// Based off of https://unrealcommunity.wiki/log-macro-with-net-mode-and-color-q3vj8r7c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- This is just a snippet, be sure to include jQuery (i used 1.8.3) | |
The <{TAGS}> are my own template parsers' tags. Replace them as you want. | |
PROBLEM: | |
When an file-input is opened via a scripted, forced click() event, IE won't let you submit the form. | |
If you click the file-input via your own mouse (what we don't want), IE will let you submit the form. | |
Solution (partly thanks to Rudie @ Stackoverflow, http://stackoverflow.com/users/247372/rudie , http://hotblocks.nl/): | |
Make a label for the input in IE. If you click it, it will force a click on the input field - and IE will accept that (dumbass IE thinks user clicked the input field, hah) |