]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/media/js/wmd/wmd.js
the WMD editor site is not available anymore, removing the question mark icon
[osqa.git] / forum / skins / default / media / js / wmd / wmd.js
index 678776d1e2a1c9241763eaa869202773ecfab570..ac03ea2885a2d631d7526f64bfb2d62a66025047 100644 (file)
@@ -28,7 +28,7 @@ function ajaxFileUpload(imageUrl)
                   if(error != ''){
                     alert(error);
                   }else{
-                    imageUrl.attr('value', fileURL);
+                    imageUrl.attr('value', appUrl + fileURL);
                   }
 
               },
@@ -373,6 +373,7 @@ Attacklab.wmdBase = function(){
                        
                        // The input text box
                        input = doc.createElement("input");
+            input.id = "image-url";
                        input.type = "text";
                        input.value = defaultInputText;
                        style = input.style;
@@ -1133,10 +1134,10 @@ Attacklab.wmdBase = function(){
                        helpAnchor.href = helpLink;
                        helpAnchor.target = helpTarget
                        helpAnchor.title = helpHoverTitle;
-                       helpButton.appendChild(helpAnchor);
+                       //helpButton.appendChild(helpAnchor);
                        
-                       setupButton(helpButton, true);
-                       buttonRow.appendChild(helpButton);
+                       //setupButton(helpButton, true);
+                       //buttonRow.appendChild(helpButton);
                        
                        setUndoRedoButtonStates();
                }