Author: kien_nguyen
Date: 2012-01-29 23:15:11 -0500 (Sun, 29 Jan 2012)
New Revision: 8318
Modified:
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/gadget/Gadgets.js
Log:
GTNPORTAL-2336 Gadget settitle do not work
Modified: portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/gadget/Gadgets.js
===================================================================
---
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/gadget/Gadgets.js 2012-01-27
21:43:08 UTC (rev 8317)
+++
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/gadget/Gadgets.js 2012-01-30
04:15:11 UTC (rev 8318)
@@ -200,7 +200,7 @@
gadgets.IfrGadgetService.prototype.setTitle = function(title) {
var element = document.getElementById(this.f);
element = eXo.core.DOMUtil.findAncestorByClass(element, "UIGadget");
- element = eXo.core.DOMUtil.findFirstDescendantByClass(element, "div",
"GadgetTitle");
+ element = eXo.core.DOMUtil.findFirstDescendantByClass(element, "span",
"GadgetTitle");
if (element) {
element.innerHTML = title.replace(/&/g, '&').replace(/</g,
'<');
Show replies by date