| Type: | FeatureItem | Feature: | LayoutAndThemes | Tags: | EasyToSolve |
|---|---|---|---|---|---|
| ScheduledFor: | Assigned to: | Task Points: | |||
| Priority: | 0 | Status: | Pending | ||
$.getJSON('/account/user_data') on application.js must callback to a list of methods, allowing theme specific actions on the user_data load.
Possible solution:
The theme script uses registerUserDataLoadListener(myFubction) and the $.getJSON('/account/user_data') callback send the json data to all registered functions.
registerUserDataLoadListener register the functions in an array.
-- AurelioAHeckert - 17 Sep 2010
| Title | javascript method to register user_data load listeners |
| ActionItemType? | FeatureItem |
| Priority | 0 |
| Tags | EasyToSolve |
| Feature | LayoutAndThemes |
| TaskPoints? | |
| ResponsibleDevelopers | |
| AffectsVersion? | |
| Status | Pending |
| Ticket | SAC: |