Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9
-
Fix Version/s: 1.9.1
-
Component/s: Block: Birthday
-
Labels:None
-
Environment:Apache 2.2, MySQL 5, PHP 5, Moodle 1.9
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
When AJAX is enabled at the site level and the editing user has Ajax usage enabled in his profile, all editing icons of the Birthday block are missing, except the roles one. All blocks positioned after the Birthday block also lose their editing icons.
The only way to edit the block after that is to disable ajax in the user profile / site admin menu.
Anil - I was not able to reproduce this. I have seen strange AJAX behavior before which I had assumed was related to it reaching some count limit or something but I never investigated it thoroughly. What happens if you move the birthday block somewhere earlier in the page? If might suspect that when it reaches a certain number of blocks that the AJAX stuff stops working which would indicate to me that it is not so much an issue with the birthday block. Since I cannot reproduce it (I have AJAX enabled for the site and the admin user) can you play with this some more and report back what you find? In the meantime, I am going to resolve this as Cannot Reproduce; however, if we can figure out what it is then I will modify it. FYI, as a result, I did notice a small logical error causing an undefined property notice that I did correct so I appreciated the chance to go back in and look at the code. Peace - Anthony