//***************************************************************************** //* Begin Home tab content //***************************************************************************** isc.ListGrid.create({ ID: "displayFavoriteDocumentsList", alternateRecordStyles:false, autoDraw:false, backgroundColor: "#FFFFFF", canAutoFitFields: false, canCollapseGroup: false, canEdit: false, canExpandMultipleRecords: false, canExpandRecords: false, canGroupBy: false, canHover: true, canMultiSort: false, canPickFields: false, canReorderRecords:false, canResizeFields: false, canSort: true, emptyMessage: "
Create a Document Favorite by running a search and clicking the Add to Document Favorites icon in the search results listing.
", height: "50%", hoverWidth: 175, leaveScrollbarGap: true, overflow: "auto", selectionType: "single", showHover: true, showRecordComponents: false, showRecordComponentsByCell: false, showSortArrow: "none", width:"200", fields:[ { name:"favoriteDocuments", title:"Document Favorites", showTitle: true, width:"100%", align: "left", cellAlign: "left", type: "link", target: "javascript" }, { name:"favoriteDocumentsUrl", title:"", showTitle: false, width:"0", showIf: 'false', align: "center", cellAlign: "left", type: "text", target: "javascript" }, { name:"title", title:"", showTitle: false, width:"0", showIf: 'false', align: "center", cellAlign: "left", type: "text", target: "javascript" } ], cellClick: function (record, rowNum, colNum) { if (record.favoriteDocuments.indexOf("[archive]") > -1) { isc.confirm("NOTICE: THIS ARCHIVED DOCUMENT IS HISTORICAL, IT HAS NOT BEEN MAINTAINED OR UPDATED. ERICSSON HAS NOT \nDETERMINED WHETHER THE INFORMATION IN THIS DOCUMENT REMAINS VALID. YOU SHOULD NOT RELY ON THIS \nDOCUMENT OR THE INFORMATION IT CONTAINS FOR ANY PURPOSE WITHOUT FIRST DETERMINING WHETHER \nIT IS CURRENTLY ACCURATE OR CORRECT. CLICK THE \'OK\' BUTTON TO SIGNIFY THAT YOU HAVE READ THIS NOTICE \nAND THAT YOU UNDERSTAND THAT IT IS YOUR RESPONSIBILITY TO VERIFY WITH THE APPROPRIATE SERVICE \nPROVIDERS AND VENDORS WHETHER AND TO WHAT EXTENT THIS DOCUMENT AND THE INFORMATION IT CONTAINS \nSHOULD BE USED.", "value ? openPdf(record.favoriteDocumentsUrl) : '';"); } else { openPdf(record.favoriteDocumentsUrl); } }, cellHoverHTML: function (record, rowNum, colNum) { var prompt = "Click to view favorite document.
"; return prompt; } });