[fix] [time log] syntax error
diff --git a/projects/doctype/time_log/time_log.js b/projects/doctype/time_log/time_log.js
index 69ec304..26d2398 100644
--- a/projects/doctype/time_log/time_log.js
+++ b/projects/doctype/time_log/time_log.js
@@ -1,9 +1,9 @@
 wn.provide("erpnext.projects");
 
 erpnext.projects.TimeLog = wn.ui.form.Controller.extend({
-	setup: function() {
-		this.frm.set_query("task", function() {
-			return { query: "projects.utils.query_task" }
-		});
+	onload: function() {
+		this.frm.set_query("task", erpnext.queries.task);
+	}
+});
 
 cur_frm.cscript = new erpnext.projects.TimeLog({frm: cur_frm});
\ No newline at end of file