Data should be save using toggle editor.
Data is not saved using toggle editor.
Status | New | ⇒ | Confirmed |
Priority | Urgent | ⇒ | Medium |
Yes i tested this bug and observed that if we toggle again after entering the data in mceToggleEditor and click the save button,the data gets saved
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4730.
I cannot reproduce the issue here (Firefox, Macintosh)
I can reproduce this. You have to toggle the editor before entering the note and then press save before toggling the editor back
Confirmed
Bug Fixed:
I put <?php echo $this->form->getField('body')->save(); ?> in line number 21 within the javascript function at administrator\components\com_users\views\note\tmpl\edit.php
Complete code in Javascript:
Joomla.submitbutton = function(task)
{
if (task == 'note.cancel' || document.formvalidator.isValid(document.id('note-form')))
{
<?php echo $this->form->getField('body')->save(); ?>
Joomla.submitform(task, document.getElementById('note-form'));
}
}
still to commit
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4730.
@gouravsinha please can you submit a pull request with your proposed fix
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4730.
@brianteeman i have submitted the pull request with the proposed fix at #5268
Status | Confirmed | ⇒ | Closed |
Rel_Number | ⇒ | 5268 | |
Relation Type | ⇒ | Related to |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-12-01 11:51:13 |
Labels |
Added:
?
|
yes tested bug for me
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4730.