Displaying 1 result from an estimated 1 matches for "last_portlet_id".
2006 Feb 23
25
reloading fragments of pages
...fresher = Class.create();
CPSPortletRefresher.prototype = {
initialize: *function*() {
},
refreshPortletCompleted: *function*(originalRequest) {
*// getting new positions from the server*
result = originalRequest.responseText;
*if* (result!='''') {
$(this.last_portlet_id).innerHTML = result;
*var* newdiv = document.createElement("div");
newdiv.innerHTML = result;
newdiv.id = this.last_portlet_id;
olddiv = $(this.last_portlet_id);
parent = olddiv.parentNode;
olddiv.parentNode.replaceChild(newdiv, olddiv);
}
},
r...