When i try to step through an event handler for my listview's change event, Firefox locks up. Can not click on any of the debugger menu items. Can't switch back to the console window. Browser becomes completely unresponsive. I am logging to the console window from my event handler, and no errors are mentioned.
I know this has to be something silly on my part, just wondered if any one else has experienced this problem.
Here is the definition of my ListView :
Here is the event handler :
Again , this only happens when i try to debug this event handler in firefox.
Thanks in advance.
I know this has to be something silly on my part, just wondered if any one else has experienced this problem.
Here is the definition of my ListView :
var carriers = $("#carrierList").kendoListView({
selectable: true,
pageable : true ,
change: onChange,
dataBound : onDataBound ,
dataSource: t94StragglerCarriers,
template : kendo.template($("#carrierTemplate").html())
}).data("kendoListView");
function onChange() {
var listView = $("#carrierList").data("kendoListView");
var index = listView.select().index();
var item = listView.dataSource.view()[index];
console.log("Item " + index + " selected. Text = " + item.val);
}
Again , this only happens when i try to debug this event handler in firefox.
Thanks in advance.