Merge pull request #2579 from neilLasrado/jv-fix

Journal entries recalc totals on del of accounts table row
diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.js b/erpnext/accounts/doctype/journal_entry/journal_entry.js
index a726d7d..5cfa971 100644
--- a/erpnext/accounts/doctype/journal_entry/journal_entry.js
+++ b/erpnext/accounts/doctype/journal_entry/journal_entry.js
@@ -282,3 +282,8 @@
 		});
 	}
 })
+
+frappe.ui.form.on("Journal Entry Account", "accounts_remove", function(frm) {
+	cur_frm.cscript.update_totals(frm.doc);
+});
+