Dotclear

Changeset 3641:bbd00f4973a9


Ignore:
Timestamp:
12/31/17 10:50:28 (6 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Remove CKEditor hack for required textarea, should fix #2260

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcCKEditor/_post_config.php

    r3640 r3641  
    265265          }); 
    266266 
    267          $('form textarea').attr('required', ''); 
    268          $.each(CKEDITOR.instances, function (instance) { 
    269              CKEDITOR.instances[instance].on("change", function (e) { 
    270                  for (instance in CKEDITOR.instances) { 
    271                      CKEDITOR.instances[instance].updateElement(); 
    272                      $('form').parsley().validate(); 
    273                  } 
    274              }); 
    275          }); 
    276  
    277267     }); 
    278268 
Note: See TracChangeset for help on using the changeset viewer.

Sites map