From a9b918404b78ac6f013e58b6bf04abbea113c142 Mon Sep 17 00:00:00 2001 From: cahrens Date: Fri, 21 Mar 2014 15:40:53 -0400 Subject: [PATCH] Remove unnecessary helper method. --- common/lib/xmodule/xmodule/js/src/html/edit.coffee | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/common/lib/xmodule/xmodule/js/src/html/edit.coffee b/common/lib/xmodule/xmodule/js/src/html/edit.coffee index 9bc3e03a9e..64846d4bcb 100644 --- a/common/lib/xmodule/xmodule/js/src/html/edit.coffee +++ b/common/lib/xmodule/xmodule/js/src/html/edit.coffee @@ -99,11 +99,8 @@ class @HTMLEditingDescriptor codeEditor.setValue(content) initInstanceCallback: (visualEditor) => - @rewriteLinksFromStatic(visualEditor) - visualEditor.focus() - - rewriteLinksFromStatic: (visualEditor) => visualEditor.setContent(rewriteStaticLinks(visualEditor.getContent({no_events: 1}), '/static/', @base_asset_url)) + visualEditor.focus() getVisualEditor: () -> ###