glen.rhea

reorderLayer issues

Discussion created by glen.rhea on Jul 22, 2010
I'm having problems trying to figure out what is causing this issue, any help would be appreciated! I get an error and then my layers will not reorder.

Here is a link to the viewer:
http://dev.geostor.arkansas.gov/G6/g6_map_template.html

To replicate the issue:
Click Hybrid (it should work)
Click one of the other layers
Click on Hybrid again and the layers do not order properly

Here is the error:
Chrome console:
Uncaught Error: NOT_FOUND_ERR: DOM Exception 8
Firebug:
uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.removeChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://serverapi.arcgisonline.com/jsapi/arcgis/?v=1.6 :: anonymous :: line 52" data: no]

Outcomes