This file contains hidden or 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
From 05af526143c365d0af4ee43408a79b0957bbe2cd Mon Sep 17 00:00:00 2001 | |
From: irancore <[email protected]> | |
Date: Sat, 23 Sep 2017 17:52:39 +0330 | |
Subject: [PATCH] crossfaction battleground | |
--- | |
sql/av_fix.sql | 3 + | |
src/server/database/Database/MySQLConnection.cpp | 4 +- | |
src/server/game/Battlegrounds/Arena.cpp | 4 +- | |
src/server/game/Battlegrounds/Battleground.cpp | 58 ++-- |
This file contains hidden or 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
// grab your file object from a file input | |
$('#fileInput').change(function () { | |
sendFile(this.files[0]); | |
}); | |
// can also be from a drag-from-desktop drop | |
$('dropZone')[0].ondrop = function (e) { | |
e.preventDefault(); | |
sendFile(e.dataTransfer.files[0]); | |
}; |