]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/media/js/wmd/wmd.js
Merge branch 'threadsafe_requestholder' into update_django
[osqa.git] / forum / skins / default / media / js / wmd / wmd.js
index ef16652778c5a58a9335f96b0e9a1c46b9afffd0..ffc2439e6d7d4c48bb72ab10cbadded29d55e342 100644 (file)
@@ -28,7 +28,12 @@ function ajaxFileUpload(imageUrl)
                   if(error != ''){
                     alert(error);
                   }else{
-                    imageUrl.attr('value', appUrl + fileURL);
+                    if(fileURL == ''){
+                         alert("There was an internal server error uploading your file.\nPermission denied.");
+                       }
+                       else{
+                      imageUrl.attr('value', appUrl + fileURL);
+                   }
                   }
 
               },
@@ -101,8 +106,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";
        
        // -------------------------------------------------------------------