From: Thyamad c. <th...@us...> - 2006-02-13 20:21:18
|
Update of /cvsroot/thyapi/thyapi/thyfunctions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10668/thyfunctions Modified Files: thyajaxcontent.js Log Message: Commiting file additions and modification from SVN revision 2795 to 2796... Changes made by vinicius on 2006-02-13 22:34:15 +0100 (Mon, 13 Feb 2006) corresponding to SVN revision 2796 with message: Index: thyajaxcontent.js =================================================================== RCS file: /cvsroot/thyapi/thyapi/thyfunctions/thyajaxcontent.js,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** thyajaxcontent.js 15 Jan 2006 21:54:22 -0000 1.3 --- thyajaxcontent.js 13 Feb 2006 20:21:10 -0000 1.4 *************** *** 81,101 **** if (data.status == 'ok') { ! if (data.beforeload) { ! eval(data.beforeload); ! } ! if (self.append) ! { ! self.DOMElement.innerHTML += data.data; ! } ! else ! { ! self.DOMElement.innerHTML = data.data; } ! ! if (data.afterload) { ! eval(data.afterload); } } --- 81,108 ---- if (data.status == 'ok') { ! try { ! if (data.beforeload) ! { ! eval(data.beforeload); ! } ! if (self.append) ! { ! self.DOMElement.innerHTML += data.data; ! } ! else ! { ! self.DOMElement.innerHTML = data.data; ! } ! ! if (data.afterload) ! { ! eval(data.afterload); ! } } ! catch(e) { ! alert(e.message); } } |