Hi Neil,
The fix is this much code to add after including exhibit-api.js:
Exhibit.HierarchicalFacet.prototype.update = function(items) {
this._dom.valuesContainer.style.display = "none";
this._dom.valuesContainer.innerHTML = "";
var tree = this._computeFacet(items);
if (tree) {
this._constructBody(tree);
}
this._dom.valuesContainer.style.display = "block";
};
Let me know if that works for you.
David
Neil Ireson wrote:
> Hi David,
>
> I've simplified the Exhibit, http://www.dcs.shef.ac.uk/~nsi/test-fb.html,
> and it seems that the Exhibit.HierarchicalFacet is the issue.
>
> N
>
> On Jan 15, 3:45 am, David Huynh <[email protected]> wrote:
>
>> Hi Neil,
>>
>> Could you try to add/remove some of the more advanced components (such
>> as the tag cloud facet) and see if you can pinpoint the component that
>> causes the error? I don't think the text search facet itself is the problem.
>>
>> David
>>
>> Neil Ireson wrote:
>>
>>> Hi all,
>>>
>>> The error...
>>>
>>> Caught exception: Error adding action {Text search xx} to history
>>>
>>> Details: TypeError: A is undefined
>>>
>>> ...can be seen if you go tohttp://www.dcs.shef.ac.uk/~nsi/example-fb.html
>>> and type any value in the Text Search facet which causes no results to
>>> be selected.
>>>
>>> This seems to be a recoverable error, however the "Working..." pop-up
>>> window remains on the screen. Is there any way to fix the bug or
>>> remove the window?
>>>
>>> N
>>>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---