sugarlabs / sugar-web

Components for Sugar web activities
Apache License 2.0
13 stars 32 forks source link

Loading the activity palette template breaks activity working on browsers #117

Closed godiard closed 9 years ago

godiard commented 9 years ago

The activitypalette.js try to open a html file to use it as a template. When the activity is started n a browser, opening the index.html file using the file:/// protocol, and try to open the file give a error "Cross origin requests are only supported for HTTP." The template is really simple, we can include it in the js file instead.