mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 04:16:37 -04:00
10 lines
No EOL
230 B
JavaScript
10 lines
No EOL
230 B
JavaScript
Template[getTemplate('error_item')].helpers({
|
|
|
|
});
|
|
|
|
Template[getTemplate('error_item')].created = function(){
|
|
var error_id=this.data._id;
|
|
Meteor.setTimeout(function(){
|
|
Errors.update(error_id, {$set: {seen:true}});
|
|
}, 100);
|
|
}; |