Dotclear

Changeset 3665:40f215ef95e8 for plugins


Ignore:
Timestamp:
01/14/18 09:44:10 (8 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.13
Message:

Dirty hack to cope with required textarea in dcLegacyEditor/xhtml mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcLegacyEditor/js/_post_editor.js

    r3016 r3665  
    4747     $('#edit-entry').onetabload(function() { 
    4848 
     49          // Remove required attribut from #post_content in XHTML mode as textarea is not more focusable 
     50          if (formatField.value == 'xhtml') { 
     51               $('#post_content').removeAttr('required'); 
     52          } 
     53 
    4954          // Load toolbars 
    5055          if (contentTb!==undefined && excerptTb!==undefined) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map