?
Related to # 5268
avatar amithadkar
amithadkar
17 Oct 2014

Steps to reproduce the issue

  1. Go to the User User Notes module and create new record.
  2. Save the Note using toggle editor.
  3. Record is not saved. Or
  4. Create User notes by filling all the fields.
  5. Edit the user not and add the record.
  6. Click on save button.screen shot 2014-10-17 at 02 18 50

Expected result

Data should be save using toggle editor.

Actual result

Data is not saved using toggle editor.

System information (as much as possible)

Additional comments

Votes

# of Users Experiencing Issue
5/5
Average Importance Score
3.20

avatar amithadkar amithadkar - open - 17 Oct 2014
avatar amithadkar amithadkar - change - 17 Oct 2014
The description was changed
avatar micker
micker - comment - 17 Oct 2014

yes tested bug for me

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4730.

avatar brianteeman brianteeman - change - 17 Oct 2014
Status New Confirmed
avatar brianteeman brianteeman - change - 17 Oct 2014
Priority Urgent Medium
avatar gouravsinha
gouravsinha - comment - 17 Oct 2014

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.

avatar infograf768
infograf768 - comment - 17 Oct 2014

I cannot reproduce the issue here (Firefox, Macintosh)

avatar brianteeman
brianteeman - comment - 17 Oct 2014

I can reproduce this. You have to toggle the editor before entering the note and then press save before toggling the editor back

avatar infograf768
infograf768 - comment - 17 Oct 2014

Confirmed

avatar gouravsinha
gouravsinha - comment - 17 Oct 2014

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.

avatar brianteeman
brianteeman - comment - 27 Nov 2014

@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.

avatar gouravsinha
gouravsinha - comment - 1 Dec 2014

@brianteeman i have submitted the pull request with the proposed fix at #5268

avatar brianteeman brianteeman - change - 1 Dec 2014
Status Confirmed Closed
Rel_Number 5268
Relation Type Related to
avatar brianteeman brianteeman - change - 1 Dec 2014
Closed_Date 0000-00-00 00:00:00 2014-12-01 11:51:13
avatar brianteeman brianteeman - close - 1 Dec 2014
avatar zero-24 zero-24 - close - 1 Dec 2014
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment