Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User save on current user doesn't update Drupal.user #839

Open
signalpoint opened this issue Aug 16, 2016 · 0 comments
Open

User save on current user doesn't update Drupal.user #839

signalpoint opened this issue Aug 16, 2016 · 0 comments

Comments

@signalpoint
Copy link
Owner

Although most likely a jDrupal issue, if you do a user_save() on the current user, the Drupal.user object doesn't get updated with those latest values. After the call, and before post process invocations, do something like this:

$.each(account, function(prop, val) { Drupal.user[prop] = val; });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant