Changeset 3640:7df99527ffd0
- Timestamp:
- 12/29/17 15:08:35 (6 years ago)
- Branch:
- default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/post.php
r3639 r3640 804 804 '<p class="area"><label for="comment_content" class="required"><abbr title="'.__('Required field').'">*</abbr> '. 805 805 __('Comment:').'</label> '. 806 form::textarea('comment_content',50,8, html::escapeHTML(''),'','',false,'required placeholder="'.__('Comment').'"').806 form::textarea('comment_content',50,8,'','','',false,'required placeholder="'.__('Comment').'"'). 807 807 '</p>'. 808 808 -
inc/admin/lib.moduleslist.php
r3639 r3640 633 633 if (in_array('expander', $cols)) { 634 634 echo 635 html::escapeHTML($module['name']) ;635 html::escapeHTML($module['name']).($id != $module['name'] ? sprintf(__(' (%s)'),$id) : ''); 636 636 } 637 637 else { 638 638 echo 639 639 '<label for="'.html::escapeHTML($this->list_id).'_modules_'.html::escapeHTML($id).'">'. 640 html::escapeHTML($module['name']). 640 html::escapeHTML($module['name']).($id != $module['name'] ? sprintf(__(' (%s)'),$id) : ''). 641 641 '</label>'; 642 642 } … … 644 644 else { 645 645 echo 646 html::escapeHTML($module['name']). 646 html::escapeHTML($module['name']).($id != $module['name'] ? sprintf(__(' (%s)'),$id) : ''). 647 647 form::hidden(array('modules['.$count.']'), html::escapeHTML($id)); 648 648 } -
plugins/dcCKEditor/_post_config.php
r3367 r3640 264 264 $('#cke_post_excerpt').toggleClass('hide',$('#post_excerpt').hasClass('hide')); 265 265 }); 266 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 266 277 }); 267 278
Note: See TracChangeset
for help on using the changeset viewer.