Changeset 1806 in subversion
- Timestamp:
- Sep 16, 2008 9:58:17 AM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 5 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/html.php (modified) (2 diffs)
-
program/js/editor.js (modified) (1 diff)
-
program/steps/mail/compose.inc (modified) (2 diffs)
-
program/steps/settings/edit_identity.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r1803 r1806 6 6 - Reduced memory footprint when forwarding attachments (#1485345) 7 7 - Fix inline images handling when replying/forwarding html messages 8 - Allow and use spellcheck attribute for input/textarea fields (#1485060) 8 9 9 10 2008/09/15 (thomasb) -
trunk/roundcubemail/program/include/html.php
r1804 r1806 249 249 protected $tagname = 'input'; 250 250 protected $type = 'text'; 251 protected $allowed = array('type','name','value','size','tabindex','autocomplete','checked','onchange','onclick','disabled','readonly' );251 protected $allowed = array('type','name','value','size','tabindex','autocomplete','checked','onchange','onclick','disabled','readonly','spellcheck'); 252 252 253 253 public function __construct($attrib = array()) … … 417 417 { 418 418 protected $tagname = 'textarea'; 419 protected $allowed = array('name','rows','cols','wrap','tabindex','onchange','disabled','readonly' );419 protected $allowed = array('name','rows','cols','wrap','tabindex','onchange','disabled','readonly','spellcheck'); 420 420 421 421 /** -
trunk/roundcubemail/program/js/editor.js
r1788 r1806 35 35 external_image_list_url : "program/js/editor_images.js", 36 36 spellchecker_languages : (rcmail.env.spellcheck_langs ? rcmail.env.spellcheck_langs : "Dansk=da,Deutsch=de,+English=en,Espanol=es,Francais=fr,Italiano=it,Nederlands=nl,Polski=pl,Portugues=pt,Suomi=fi,Svenska=sv"), 37 gecko_spellcheck : true, 37 38 rc_client: rcube_webmail_client 38 39 }); -
trunk/roundcubemail/program/steps/mail/compose.inc
r1803 r1806 242 242 { 243 243 // pass the following attributes to the form class 244 $field_attrib = array('name' => $fname );244 $field_attrib = array('name' => $fname, 'spellcheck' => 'false'); 245 245 foreach ($attrib as $attr => $value) 246 246 if (in_array($attr, $allow_attrib)) … … 651 651 652 652 $attrib['name'] = '_subject'; 653 $attrib['spellcheck'] = 'true'; 653 654 $textfield = new html_inputfield($attrib); 654 655 -
trunk/roundcubemail/program/steps/settings/edit_identity.inc
r1796 r1806 59 59 "theme_advanced_buttons1 : 'bold,italic,underline,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,separator,outdent,indent,charmap,hr'," . 60 60 "theme_advanced_buttons2 : 'link,unlink,code,forecolor,fontselect,fontsizeselect'," . 61 "theme_advanced_buttons3 : '' });"); 61 "theme_advanced_buttons3 : '',". 62 "gecko_spellcheck : true });"); 62 63 63 64 if (!$IDENTITY_RECORD && $RCMAIL->action != 'add-identity') … … 114 115 $attrib['size'] = $colprop['size']; 115 116 $attrib['rows'] = $colprop['rows']; 117 $attrib['spellcheck'] = true; 116 118 if ($IDENTITY_RECORD['html_signature']) 117 119 {
Note: See TracChangeset
for help on using the changeset viewer.
