Browse Source

Set Is Private as per file attribute (#4964)

version-14
nick9822 7 years ago
committed by Faris Ansari
parent
commit
6e6c48e01b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      frappe/public/js/frappe/form/footer/attachments.js

+ 1
- 0
frappe/public/js/frappe/form/footer/attachments.js View File

@@ -237,6 +237,7 @@ frappe.ui.get_upload_dialog = function(opts){
dialog.$wrapper.find('[name="file_url"]').val(r.message.file_url);
dialog.$wrapper.find('.private-file input').prop('checked', r.message.is_private);
opts.args.filename = r.message.file_name;
opts.args.is_private = r.message.is_private;
}
});
}


Loading…
Cancel
Save