X-Git-Url: https://git.auder.net/images/pieces/current/gitweb.js?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=51fde64d9ab1d6b0174e4b1d9a7de47291c4ae47;hb=2d4ec1779f50f6a479276edc9297b4323e0d42bb;hp=e22156196081b532b0cf765eece70fe697b46a0a;hpb=479e6df472db9f387eed40d084956c8fa62761aa;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index e2215619..51fde64d 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -561,6 +561,9 @@ export default { processMove: function(move) { if (this.game.type == "corr" && move.color == this.game.mycolor) { + +//TODO: if takeback, then time over occurs. + if (!confirm(this.st.tr["Move played:"] + " " + move.notation + "\n" + this.st.tr["Are you sure?"])) return this.$set(this.game, "moveToUndo", move); }