The problem is that you invoke the destroy method
of the view, which detaches all events and basically nothing happens after the initial load of the view. Commenting out that line of code in your example seems to make it work as expected:
nr = arguments.view.params.nr;
legevakter_obj = JSON.parse(window.localStorage.getItem(
legevakt_obj = getObjects(legevakter_obj,
legevaktViewModel.setValues.call(legevaktViewModel, nr, legevakt_obj);
doc_height = $(document).height();
map_canvas_height = doc_height - 120;
initialize_map(legevakt_obj.lat, legevakt_obj.lon, nr);
// reset to page top
You could also use the suggestion of Petyo from this kendo forum
i.e. use jQuery remove method in the hide event of the view.
All the best,
the Telerik team
Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.