]> git.openstreetmap.org Git - osqa.git/commitdiff
bring back the question mark button of the markdown editor (WMD) and make it point...
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 13 Mar 2012 13:39:40 +0000 (13:39 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 13 Mar 2012 13:39:40 +0000 (13:39 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1231 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/media/js/wmd/wmd.js

index ac03ea2885a2d631d7526f64bfb2d62a66025047..fd429a4b241445b9ea532bc22ca6bc5705e29c38 100644 (file)
@@ -101,8 +101,8 @@ Attacklab.wmdBase = function(){
        var pastePollInterval = 100;
        
        // The link and title for the help button
-       var helpLink = "http://wmd-editor.com/";
-       var helpHoverTitle = "WMD website";
+       var helpLink = "http://daringfireball.net/projects/markdown/syntax";
+       var helpHoverTitle = "MarkDown Syntax";
        var helpTarget = "_blank";
        
        // -------------------------------------------------------------------
@@ -1134,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();
                }