[fix] [minor] upload callback arguments changed

This commit is contained in:
Anand Doshi
2013-07-25 16:02:15 +05:30
parent 4166c35277
commit 85fa3d2bb9
4 changed files with 9 additions and 9 deletions

View File

@@ -108,8 +108,8 @@ erpnext.stock.StockReconciliation = erpnext.stock.StockController.extend({
method: 'stock.doctype.stock_reconciliation.stock_reconciliation.upload'
},
sample_url: "e.g. http://example.com/somefile.csv",
callback: function(r) {
me.frm.set_value("reconciliation_json", JSON.stringify(r));
callback: function(fid, filename, r) {
me.frm.set_value("reconciliation_json", JSON.stringify(r.message));
me.show_reconciliation_data();
me.frm.save();
}