Adding Applet Title - Applet PR Code
Hi,
I am trying to add Applet title, which is working fine. But ading this code actually made all the fields disappear from list applet.
To explain: this code has been added to ShowUI
Init, BindData,BindEvents,End life has not been disturbed.
AccountIssues_Title.prototype.ShowUI = function () {
SiebelAppFacade.AccountIssues_Title.superclass.ShowUI.apply(this, arguments);
this.ShowTitle();
}
AccountIssues_Title.prototype.ShowTitle = function () {
var sTitle = "<div id='sTitle' class='siebui-applet-title'><span>Issues</span></div>";
$(".siebui-applet-title> span").css("display","block");
$(".siebui-sub-applets").find("#s_S_A3_div").find(".siebui-applet-header").append(sLTitle);
}
Pleae find screenshot of applet behavior after code change attached. Can you let me know whats wrong here?