removed comments demo
This commit is contained in:
parent
336f7f0382
commit
d6cb1818d3
@ -949,6 +949,14 @@ Template.main.events({
|
|||||||
},
|
},
|
||||||
// WORK OVERLAY BUTTONS
|
// WORK OVERLAY BUTTONS
|
||||||
'click #commentSubmit' (event) { // Click to submit a comment.
|
'click #commentSubmit' (event) { // Click to submit a comment.
|
||||||
|
if (Session.get("demo")) {
|
||||||
|
sAlert.error("Not available in demo!", {
|
||||||
|
effect: 'stackslide',
|
||||||
|
position: 'top',
|
||||||
|
timeout: 2000
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
workId = Session.get("currentWork")._id;
|
workId = Session.get("currentWork")._id;
|
||||||
var input = document.getElementById('workComment');
|
var input = document.getElementById('workComment');
|
||||||
comment = input.value;
|
comment = input.value;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user