Parameterize all element IDs so that they aren't hard-baked into the code

Description

This task includes breaking up some of the selection code into separate functions so it is less duplicated. Then we'll pass in a map to the List Builder's constructor that will automatically fetch DOM elements via jQuery.

Environment

None

Activity

Show:

Michelle D'Souza January 19, 2011 at 1:23 PM

Reopening these issues in order to add the workshopcomponent to them

Colin Clark April 24, 2008 at 12:42 AM

initListBuilder() now takes an argument called elementSelectors that allows the client to customize which selectors are used to bind to the DOM. Defaults are configured which will allow for a working single instance of the ListBuilder based on the default template, or the user could modify these for different templates or multiple instances.

Fixed

Details

Assignee

Reporter

Components

Priority

Created April 4, 2008 at 4:04 PM
Updated January 19, 2011 at 1:25 PM
Resolved January 19, 2011 at 1:25 PM