From 3b08b5184ceb6939f652268730bbf19da6891793 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 14 Dec 2009 10:08:28 -0800 Subject: [PATCH] Initialize the editor before rendering the intial dialog box for the Section Editor. Fixes bug #11297. --- docs/changelog/7.x.x.txt | 1 + www/extras/wobject/Survey/editsurvey.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 2aa02da16..a5d478adf 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -8,6 +8,7 @@ - fixed #11299: Matrix - Cannot hide title - fixed #11293: Matrix - Search not working correctly - fixed #11301: Matrix - Comparing too many products error message + - fixed #11297: YUI Rich Editor fails to load when editing Survey in 7.7.27 7.8.7 - fixed #11278: Wrong test for Template::Toolkit in testEnvironment.pl diff --git a/www/extras/wobject/Survey/editsurvey.js b/www/extras/wobject/Survey/editsurvey.js index 90d570207..a5c4b5342 100644 --- a/www/extras/wobject/Survey/editsurvey.js +++ b/www/extras/wobject/Survey/editsurvey.js @@ -223,8 +223,8 @@ YAHOO.util.Event.onDOMReady(function(){ }, onpreload : { fn : function () { - Survey.Comm.loadSurvey(); Survey.ObjectTemplate.initObjectEditor(); + Survey.Comm.loadSurvey(); } } } );