Issue Details (XML | Word | Printable)

Key: MDL-16654
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Tim Hunt
Reporter: Tim Hunt
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-16583

Emoticons help file contains JavaScript to insert the emoticons, but it won't acutally work in a lot of situations

Created: 24/Sep/08 06:21 PM   Updated: 25/Sep/08 06:07 PM
Return to search
Component/s: Lib
Affects Version/s: 2.0
Fix Version/s: 2.0

Issue Links:
Duplicate
 

Participants: Tim Hunt
Security Level: None
Resolved date: 25/Sep/08
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
It relies on storing the id of the most recently output textarea in the session, which is then used to generate some JavaScript on the fly when that help page is shown. This will fail on pages with more that one HTML editor, or where the users is browsing in multiple tabs. I think we should just eliminate this feature, especially because the JavaScript is added to every single page that Moodle loads.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
tjhunt committed 5 files to 'Moodle CVS' - 25/Sep/08 06:07 PM
MDL-16654 Move javascript used by the emoticons help file from javascript.php to javascript-static.js. Fix it so that it actually works.
MODIFY lang/en_utf8/help/emoticons.html   Rev. 1.11    (+5 -0 lines)
MODIFY help.php   Rev. 1.51    (+2 -25 lines)
MODIFY lib/weblib.php   Rev. 1.1153    (+43 -9 lines)
MODIFY lib/javascript-static.js   Rev. 1.46    (+32 -1 lines)
MODIFY lib/Attic/javascript.php   Rev. 1.45    (+22 -45 lines)
martignoni committed 1 file to 'Lang CVS' - 25/Sep/08 10:52 PM
Added comment MDL-16654
MODIFY fr_utf8/help/emoticons.html   Rev. 1.7    (+5 -0 lines)