projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Separate client and server codes. Keep everything in one git repo for simplicity
[vchess.git]
/
client
/
client_OLD
/
javascripts
/
components
/
upsertUser.js
diff --git
a/public/javascripts/components/upsertUser.js
b/client/client_OLD/javascripts/components/upsertUser.js
similarity index 96%
rename from
public/javascripts/components/upsertUser.js
rename to
client/client_OLD/javascripts/components/upsertUser.js
index
dde6708
..
cca959e
100644
(file)
--- a/
public/javascripts/components/upsertUser.js
+++ b/
client/client_OLD/javascripts/components/upsertUser.js
@@
-139,6
+139,9
@@
vv = Vue.component('my-upsert-user', {
this.nameOrEmail = "";
this.user["email"] = "";
this.user["name"] = "";
this.nameOrEmail = "";
this.user["email"] = "";
this.user["name"] = "";
+ // Store our identifiers in local storage (by little anticipation...)
+ localStorage["myid"] = res.id;
+ localStorage["myname"] = res.name;
}
setTimeout(() => {
this.infoMsg = "";
}
setTimeout(() => {
this.infoMsg = "";