From a93fa16bce8797c0b193f66edf3fb350f5b4f189 Mon Sep 17 00:00:00 2001 From: tundebabzy Date: Thu, 1 Mar 2018 08:45:56 +0100 Subject: [PATCH] freeze screen while waiting for updates on subscription --- erpnext/accounts/doctype/subscriptions/subscriptions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/subscriptions/subscriptions.js b/erpnext/accounts/doctype/subscriptions/subscriptions.js index ae572d24b7..92cb93fcc5 100644 --- a/erpnext/accounts/doctype/subscriptions/subscriptions.js +++ b/erpnext/accounts/doctype/subscriptions/subscriptions.js @@ -67,6 +67,7 @@ frappe.ui.form.on('Subscriptions', { method: "erpnext.accounts.doctype.subscriptions.subscriptions.get_subscription_updates", args: {name: doc.name}, + freeze: true, callback: function(data){ if(!data.exc){ frm.reload_doc();