WISE-Community/WISE-VLE — Issue #61: Link to google in HtmlNode throws permissions exception
Author: hirokiterashima
Created: 2012-01-05 18:26:49+00:00
State: open
Labels: Authoring Tool, Student VLE

How to reproduce this bug:
1) create/edit HtmlNode in AT.
2) in the step content, add link to google, like this:
Click here to search the Internet for evidence using Google.
3) preview, click on link.

When previewing in right panel of authoring tool, you get this error:
Permission denied to access property 'loadContent'
[Break On This Error] if(obj.id==args[0] && obj.contentPanel && obj.contentPanel.loadContent){

When previewing in Preview Project, you get this error:
Permission denied to access property 'nodeId'
[Break On This Error] var node = this.getProject().getNodeById(window.frames['ifrm'].nodeId);
vleview_core.js (line 699)

When href is yahoo.com or bing.com, or wise.berkeley.edu, it works correctly.
Adding target="blank" attribute works correctly.