From c754a4fbddbf75cca7efc110ebaec38bae0dd0cd Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Sun, 9 Feb 2014 18:30:09 +0530 Subject: [PATCH 1/2] trim for checking text editor content --- public/js/wn/ui/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/wn/ui/editor.js b/public/js/wn/ui/editor.js index e2574f125b..43443b0e17 100644 --- a/public/js/wn/ui/editor.js +++ b/public/js/wn/ui/editor.js @@ -125,7 +125,7 @@ bsEditor = Class.extend({ clean_html: function() { var html = this.editor.html() || ""; - if(!strip(this.editor.text()) && !(this.editor.find("img"))) html = ""; + if(!$.trim(this.editor.text()) && !(this.editor.find("img"))) html = ""; // html = html.replace(/(
|\s|

<\/div>| )*$/, ''); // remove custom typography (use CSS!) From 7a7fe1715805b05a3a6e38427b848aa1a272a3a6 Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Fri, 14 Feb 2014 11:05:51 +0600 Subject: [PATCH 2/2] bumped to version 3.9.5 --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 8a551ee2ed..f2072156b5 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "base_template": "lib/website/templates/base.html", - "framework_version": "3.9.4", + "framework_version": "3.9.5", "modules": { "Calendar": { "color": "#2980b9",