Update webform_script.js

This commit is contained in:
Shivam Mishra 2019-10-24 16:24:06 +05:30 committed by GitHub
parent 28e9321304
commit d73ded3217
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,7 @@ frappe.ready(function() {
}
if (["Attach", "Attach Image"].includes(df.fieldtype)) {
if (!df.options)
df.options = {}
df.options = {};
df.options.disable_file_browser = true;
}
});