[fix] [time log] syntax error

This commit is contained in:
Nabin Hait 2013-07-19 11:13:15 +05:30
parent 3af8f8a136
commit 97bde682f1

View File

@ -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});