From 374d44a1ef7f9daffe0d461d21b80fabeda2b967 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 23 Jul 2013 11:48:25 +0530 Subject: [PATCH] [minor] [fix] clear value and run trigger of attach_files: field on removing attachment, if that attachment is being used by a given field --- public/js/wn/form/attachments.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/public/js/wn/form/attachments.js b/public/js/wn/form/attachments.js index 9ae34e9e21..7985fc2e7c 100644 --- a/public/js/wn/form/attachments.js +++ b/public/js/wn/form/attachments.js @@ -182,11 +182,14 @@ wn.ui.form.Attachments = Class.extend({ for(var i=0; i