editorchoice not null? @(HttpContext.Current.Request.QueryString["EditorChoice"] != null)
+
+ }
+}
\ No newline at end of file
diff --git a/OurUmbraco.Site/masterpages/SwitchForumEditor.master b/OurUmbraco.Site/masterpages/SwitchForumEditor.master
new file mode 100644
index 00000000..1295a802
--- /dev/null
+++ b/OurUmbraco.Site/masterpages/SwitchForumEditor.master
@@ -0,0 +1,5 @@
+<%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>
+
+
+
+
diff --git a/OurUmbraco.Site/scripts/forum/uForum.js b/OurUmbraco.Site/scripts/forum/uForum.js
index 846be4a2..62cae73d 100644
--- a/OurUmbraco.Site/scripts/forum/uForum.js
+++ b/OurUmbraco.Site/scripts/forum/uForum.js
@@ -51,10 +51,14 @@ var uForum = function () {
}
});
},
- lookUp: function () {
+ lookUp: function (useMarkdown) {
var query = jQuery("#title").val();
- query += " " + Markdown.App.getPreviewContent();
-
+ if (useMarkdown) {
+ query += " " + Markdown.App.getPreviewContent();
+ } else {
+ query += " " + tinyMCE.get('topicBody').getContent();
+ }
+
if (query.length <= 1) {
jQuery("#topicsBox").fadeOut("fast");
}
diff --git a/OurUmbraco.Site/usercontrols/our.umbraco.org/InsertImage.ascx b/OurUmbraco.Site/usercontrols/our.umbraco.org/InsertImage.ascx
index 1a36cd28..361d7ffa 100644
--- a/OurUmbraco.Site/usercontrols/our.umbraco.org/InsertImage.ascx
+++ b/OurUmbraco.Site/usercontrols/our.umbraco.org/InsertImage.ascx
@@ -1,22 +1,25 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="InsertImage.ascx.cs"
Inherits="our.usercontrols.InsertImage" %>
+
+
+
- jQuery(document).ready(function(){
- jQuery("form").submit( function(e) {
- e.preventDefault();
-
- var topicId = '';
- var body = $("#wmd-input").val(); // Always save the raw markdown input, otherwise, we screw up editing
- var comment = '';
+
+
+