HI Expert,
When I click on "save icon" button on bex web template page. A blank popup appear and disappear in 1-2 seconds. and nothing is happening.
It seems this function is not getting called function bookmarkPage().
Could you please advise something here?
<!-- Save Bookmark to favourites --->
<td ><A href="JavaScript:bookmarkPage();"><IMG border=0 alt ="Save the Report to your Favourites" src="save_icon_a.png"></A></td>
<!-- Code for creating Bookmark and saving to Explorer favourites --->
<script language="javascript">
//set the maxtime allowed to try to bookmark the page to 15 seconds
var MaxTime=15000;
function bookmarkPage()
{
var wnd;
var bookmarkURL;
wnd = window.open( SAP_BW_URL_Get() + "&CMD=BOOKMARK","TEST","width=310,height=10,left=0,top=0");
bookmarkURL = '';
try { bookmarkURL = wnd.document.URL; }
catch(e) {}
timeFlag = '';
setTimeout( 'setTimeFlag()', MaxTime );
while( bookmarkURL.indexOf( "BOOKMARK_ID" ) == -1 && timeFlag == '' ) {
try { bookmarkURL = wnd.document.URL; }
catch(e) {}
}