From 9e3db510ad66a739a4051108f6f1fedfdb3061c0 Mon Sep 17 00:00:00 2001 From: mark_story Date: Wed, 4 Apr 2012 21:11:23 -0400 Subject: [PATCH] Try to address cross domain issues in Opera. --- themes/cakephp/static/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/themes/cakephp/static/app.js b/themes/cakephp/static/app.js index efebaf1e3f..ac234bf3da 100644 --- a/themes/cakephp/static/app.js +++ b/themes/cakephp/static/app.js @@ -1,5 +1,9 @@ +if (/cakephp\.org/.test(document.domain)) { + document.domain = 'cakephp.org'; +} + App = {}; - + App.Book = (function() { function init() {