added job application

This commit is contained in:
Rushabh Mehta
2013-01-15 17:23:23 +05:30
parent 0e7751b9fe
commit 3169ef0691
10 changed files with 208 additions and 12 deletions

View File

@@ -69,16 +69,7 @@ $.extend(cur_frm.cscript, {
})
},
send: function(doc, dt, dn) {
$c_obj(make_doclist(doc.doctype, doc.name), 'send_response', '', function(r,rt) {
locals[dt][dn].new_response = '';
if(!(r.exc || r.server_messages)) {
cur_frm.refresh();
}
});
},
customer: function(doc, dt, dn) {
var callback = function(r,rt) {
var doc = locals[cur_frm.doctype][cur_frm.docname];