From 92810898ba89c57380b9a3602eb7cf32f5d5f1ce Mon Sep 17 00:00:00 2001 From: Mateusz Uzdowski Date: Fri, 1 Aug 2014 16:25:28 +1200 Subject: [PATCH] BUG Return the promise instead of the whole deferred object. --- javascript/HtmlEditorField.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/HtmlEditorField.js b/javascript/HtmlEditorField.js index 6e7332969..9fd1f8487 100644 --- a/javascript/HtmlEditorField.js +++ b/javascript/HtmlEditorField.js @@ -711,7 +711,7 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE; break; } - return dfdAnchors; + return dfdAnchors.promise(); }, /**