I checked the code and the template "'td.title div@title':'currevent.subject'" is only referenced once in the JavaScript code, so I don't believe that the code is somehow removing the div.
Also, the issue only occurs when there is only one row in the results table where the directive is being applied. However, the JSON returned to populate the template is the same in both cases. It is an array:
So, that should not matter correct?
Here is a snippet of the code being used to build the directive:
var directive = {'tr':{'currevent<-events':{
...
'td.title a@title':'currevent.subject',
'td.title div@title':'currevent.subject',
...
}
};
jQuery("tbody", tableSel).render(jsonObj, directive);
Again, this all works properly when there is more than one event in the response JSON.