mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
allow emails with uppercase
This commit is contained in:
@@ -351,7 +351,7 @@ function add_sel_options(s,list,sel_val,o_style){if(s.custom_select){s.set_optio
|
||||
function empty_select(s){if(s.custom_select){s.empty();return;}
|
||||
if(s.inp)s=s.inp;if(s){var tmplen=s.length;for(var i=0;i<tmplen;i++)s.options[0]=null;}}
|
||||
function sel_val(s){if(s.custom_select){return s.inp.value?s.inp.value:'';}
|
||||
if(s.inp)s=s.inp;try{if(s.selectedIndex<s.options.length)return s.options[s.selectedIndex].value;else return'';}catch(err){return'';}}
|
||||
if(s.inp)s=s.inp;try{if(s.selectedIndex<s.options.length)return s.options[s.selectedIndex].value;else return'';}catch(err){return'';}}
|
||||
function add_sel_options(s,list,sel_val,o_style){if(s.custom_select){s.set_options(list)
|
||||
if(sel_val)s.inp.value=sel_val;return;}
|
||||
if(s.inp)s=s.inp;for(var i=0,len=list.length;i<len;i++){var o=new Option(list[i],list[i],false,(list[i]==sel_val?true:false));if(o_style)$y(o,o_style);s.options[s.options.length]=o;}}
|
||||
|
||||
Reference in New Issue
Block a user