From 9cd5c0620f15e82cd00fca4d1c7578cf12dc6d7c Mon Sep 17 00:00:00 2001 From: Mayur Patel Date: Wed, 18 Nov 2015 11:02:38 +0000 Subject: [PATCH] Updated fieldtype from Data to Text for 'description' fieldname In the database, the field size is defined as Text for Description but in the java script it is being used as Data field. Hence the user are not able to enter the full text when assigning a ToDo to another use. Please accept this change as it will be very helpful for the user. Thanks. Mayur --- frappe/public/js/frappe/form/footer/assign_to.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/form/footer/assign_to.js b/frappe/public/js/frappe/form/footer/assign_to.js index 92e8a32b1d..11bd693295 100644 --- a/frappe/public/js/frappe/form/footer/assign_to.js +++ b/frappe/public/js/frappe/form/footer/assign_to.js @@ -150,7 +150,7 @@ frappe.ui.to_do_dialog = function(opts){ {fieldtype:'Link', fieldname:'assign_to', options:'User', label:__("Assign To"), description:__("Add to To Do List Of"), reqd:true}, - {fieldtype:'Data', fieldname:'description', label:__("Comment"), reqd:true}, + {fieldtype:'Text', fieldname:'description', label:__("Comment"), reqd:true}, {fieldtype:'Check', fieldname:'notify', label:__("Notify by Email"), "default":1}, {fieldtype:'Date', fieldname:'date', label: __("Complete By")},