MantisBT

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005725ATutorThemepublic2016-09-28 18:022017-01-02 09:05
Reportergreg 
Assigned Tosudwebdesign 
PrioritynormalSeverityminorReproducibilitysometimes
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target Version2.2.3Fixed in Version 
Summary0005725: Sidemenu toggle image fails
DescriptionOn occasion the + toggles in the side menu loose the toggle image and are replaced with the alt text "toggle."
TagsNo tags attached.
Affects versionSVN
SVN Revision#
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Related Changesets
ATutor: master 3aab782e
Timestamp: 2016-09-28 16:38:17
Author: sudwebdesign
Details ] Diff ]
fix toggle no work due an window.opener.document access denied

Prevent for continue to interpret javascript if stopping with
Error: Permission denied to access property "document"
Maybe rule browser "Same-origin policy" or unexisting object.

On course sidebar, toggle unwork & print "toggle" in place of +
for simply see this (js) error, go to login.php ;-)

this function is called in jscript/ATutor_js.php on line 381
ATutor.users.preferences.setStyles()
mod - jscripts/ATutor.js Diff ] File ]
ATutor: master 4fa1108d
Timestamp: 2016-09-29 12:09:49
Author: sudwebdesign
Details ] Diff ]
New fix window.opener unaccess property "document" or = null

I think this error appear when user never click to open popup preference
wizard 'users/pref_wizard/index.php' OR with fresh browser session.
window.opener.document (location are about:blank in ff)
& unautorized 4 change (not same domain)

(firefox)
TypeError: window.opener is null
(chromium)
Uncaught TypeError: Cannot read property 'document' of null
ATutor.js:582
mod - jscripts/ATutor.js Diff ] File ]
ATutor: master 7b3fae70
Timestamp: 2016-09-30 18:09:10
Author: greg
Committer: GitHub
Details ] Diff ]
5725 Adjust the comments a little before merging

Merge potential fix for missing menu toggles by sudwebdesign
mod - jscripts/ATutor.js Diff ] File ]
ATutor: master b8dbc3b0
Timestamp: 2016-09-30 18:10:40
Author: greg
Committer: GitHub
Details ] Diff ]
5725 Merge pull request 0000126 from sudwebdesign/master

fix toggle no work due an window.opener.document access denied
mod - jscripts/ATutor.js Diff ] File ]

- Issue History
Date Modified Username Field Change
2016-09-28 18:02 greg New Issue
2016-09-28 18:02 greg Status new => assigned
2016-09-28 18:02 greg Assigned To => sudwebdesign
2017-01-02 09:03 greg Changeset attached => ATutor master b8dbc3b0
2017-01-02 09:04 greg Changeset attached => ATutor master 7b3fae70
2017-01-02 09:04 greg Changeset attached => ATutor master 4fa1108d
2017-01-02 09:05 greg Changeset attached => ATutor master 3aab782e


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker