Metadata
- Source
- FLUID-4349
- Type
- Improvement
- Priority
- Minor
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Harris Wong
- Created
2011-07-20T17:11:35.150-0400 - Updated
2011-08-10T15:21:23.922-0400 - Versions
- N/A
- Fixed Versions
-
- 1.4
- Component
-
- Framework
Description
The current fluid.allocateSimpleId(element) does not handle the case where "element" is undefined. This function can be improved as follow:
When the element is undefined, then return the "fluid-id-" + fluid.allocateGuid(); if the element is there, perform the old behavior. We probably want to update the unit test as well.
framework/core/js/Fluid.js line 1699~1705.
Environments
N/A
Comments
-
Harris Wong commented
2011-07-21T10:23:14.966-0400 Will be committed with #FLUID-4209 on the same pull request: https://github.com/fluid-project/infusion/pull/111