var erUtils;Ext.define("favorite.view.FavoriteDetails",{extend:"Ext.container.Container",alias:"widget.favoritedetails",border:false,frame:false,margin:10,loadDetails:function(i){if(!Ext.isEmpty(i)){var j=i.fav_details;var h='<div class="newFont_bold14" style="padding:0 0 5px 0">Details of Your Selection</div><div class="newTable">'+'<table cellspacing="0" cellpadding="0" border="0" width="100%">'+"<tbody>";
for(var d=0;d<j.length;d++){h+="<tr >";var b=j[d];console.log(b);for(var e=0;e<b.length;e++){var k=b[e];if(Ext.isEmpty(erUtils)){erUtils=Ext.widget("erutils");}k=erUtils.specialCharDecode(k);if(k.indexOf("_last")>-1){var l=k;var c=" ";var f=l.substring(0,l.indexOf(c));var a=l.substring(l.indexOf(c)+1,l.length);
var g=a.substring(0,l.lastIndexOf("_")-2);if(f=="1"){l="Last "+g;}else{l="Last "+f+" "+g;}k=l;}h+='<td class=" x-grid-cell x-grid-cell-first" style="padding:2px">'+'<div class="x-grid-cell-inner" >'+k+"</div>"+"</td>";}h+="</tr>";}h+="</tbody>"+"</table>"+"</div>";this.update(h);}}});