This question is locked. New answers and comments are not allowed.
I recently updated my telerik resources from 2010.3.1110 to 2011.2.712 and everything went smoothly with the exception of some known breaking changes on Numeric text and Grid. But as these changes are documented properly I was able to figure out what to do with little effort.
But for some reason the window's center method was changed from:
center: function () {
var e = d(this.element);
var f = d(window);
e.css({ left: f.scrollLeft() + (f.width() - e.width()) / 2, top: f.scrollTop() + (f.height() - e.height()) / 2 });
return this;
}
to:
center: function () {
var g = d(this.element);
var e = d(window);
var f = d(document.body);
g.css({ left: e.scrollLeft() + f.scrollLeft() + Math.max(0, (e.width() - g.width()) / 2), top: e.scrollTop() + f.scrollTop() + Math.max(0, (e.height() - g.height()) / 2) });
return this;
},
As you see the new functions considers document.body in determining the center, I assume there is good reason for the change though it does not center the window in chrome for me.
But for some reason the window's center method was changed from:
center: function () {
var e = d(this.element);
var f = d(window);
e.css({ left: f.scrollLeft() + (f.width() - e.width()) / 2, top: f.scrollTop() + (f.height() - e.height()) / 2 });
return this;
}
to:
center: function () {
var g = d(this.element);
var e = d(window);
var f = d(document.body);
g.css({ left: e.scrollLeft() + f.scrollLeft() + Math.max(0, (e.width() - g.width()) / 2), top: e.scrollTop() + f.scrollTop() + Math.max(0, (e.height() - g.height()) / 2) });
return this;
},
As you see the new functions considers document.body in determining the center, I assume there is good reason for the change though it does not center the window in chrome for me.
