Closed (fixed)
Project:
Known User Role
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2009 at 11:05 UTC
Updated:
26 Jun 2009 at 17:20 UTC
I'm currently writing an ajax module that requires submitting a node form without refreshing the page.
I noticed in the 'You're logged in to Connect as Sally' string created (by this module) the username gets appended to the end after every request.
So after 5 form submission for example i would get this situation arising..
'You're logged in to Connect as SallySallySallySallySallySally'
I'm not totally sure if append is necessary, so i'll leave you to make the call.
In any case, it can be changed by simply replacing append with replaceWith in the lastuser.js file.
I have attached a patch. :)
| Comment | File | Size | Author |
|---|---|---|---|
| lastuser_v1.patch | 798 bytes | wkmit |
Comments
Comment #1
greg.harveyThanks for the patch. Will take a look as soon as I get a chance. Without looking, I can't see any reason this won't get committed. =)
Comment #2
greg.harveyCommitted and in latest release! Thanks! =)