Identify popup jsapi v2.4

Discussion created by ccgage on Sep 7, 2011
Latest reply on Sep 7, 2011 by ccgage
I have been working with the Identify Popup sample and am getting an error on the following line in the sample:   map.infoWindow.setFeatures([ deferred ]);

Using Firebug, it states that the method "setFeatures" does not exist.  I searched the jsapi v2.4 code and could not find that method.  I must be missing something here, but cannot figure out what it is.
Is there a method called "setFeatures" or is this something that must be written?
I'm not sure how the sample runs, since it makes the call to the method but it is not in the code.