New work bug fix
This commit is contained in:
parent
d08d38acdd
commit
bf025fd1a7
@ -760,7 +760,7 @@ Template.main.events({
|
|||||||
newSetting[modifyingInput.charAt(1).toLowerCase() + modifyingInput.slice(2)] = option.toLowerCase();
|
newSetting[modifyingInput.charAt(1).toLowerCase() + modifyingInput.slice(2)] = option.toLowerCase();
|
||||||
Session.set("currentWork", newSetting);
|
Session.set("currentWork", newSetting);
|
||||||
serverData = Session.get("currentWork");
|
serverData = Session.get("currentWork");
|
||||||
if(checkMissing()) return;
|
if(checkMissing() || Session.get("newWork")) return;
|
||||||
sendData("editWork")
|
sendData("editWork")
|
||||||
} else {
|
} else {
|
||||||
var newSetting = Session.get("user");
|
var newSetting = Session.get("user");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user