Browse Source

Custom Attach field, user not able to attach file (#4274)

version-14
rohitwaghchaure 7 years ago
committed by Rushabh Mehta
parent
commit
60078d61a3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/upload.js

+ 1
- 1
frappe/public/js/frappe/upload.js View File

@@ -15,7 +15,7 @@ frappe.upload = {
// make private by default
if (!("options" in opts) || ("options" in opts &&
(!opts.options.toLowerCase()=="public" && !opts.options.toLowerCase()=="image"))) {
(opts.options && !opts.options.toLowerCase()=="public" && !opts.options.toLowerCase()=="image"))) {
opts.is_private = 1;
}


Loading…
Cancel
Save