--- asset_tinymce_helper.old.js	2008-05-06 12:38:57.000000000 +0200
+++ asset_tinymce_helper.js	2008-05-06 12:39:36.000000000 +0200
@@ -14,7 +14,7 @@ $(document).ready(
             // this seems kinda backward but since this fires before mceToggle
             // when there is no editor, then that means that the editor will
             // be created on this click, and so the link needs to be hidden.
-            if(tinyMCE.getEditorId(textarea_id) == null){
+            if(tinyMCE.get(textarea_id) == null){
               // editor will be created so hide asset link
               $(assetLink).hide();
             }else{
