rendered paste bodyvar controller = null; var newActionName = null; var newSolution = null; var newActionPath = null; function cursor_wait() { document.body.style.cursor = 'wait'; } function cursor_clear() { document.body.style.cursor = 'default'; } function load(){ cursor_wait(); controller = new PivotRepositoryBrowserController(); controller.setOnAfterSaveCallback( function() { var newActionName = encodeURI( controller.getActionName() ); var newSolution = encodeURI( controller.getSolution() ); var newActionPath = encodeURI( controller.getActionPath() ); document.location.href='Pivot?save-action=saveAs&save-path='+newSolution +'/'+newActionPath+'&save-file='+newActionName+'&save-title='+newActionName; }); cursor_clear(); } function save() { cursor_wait(); var newActionName = encodeURI( "