From 46b6c5475bf2b188e04c1e0a5fe8a9e387ecda80 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 04 Jun 2012 04:11:24 -0400
Subject: [PATCH] Modify CONCAT() arguments, because + operator requires them to be of type varchar (#1488505) With SQL Server 2012 we can use just CONCAT(), but we need to support older versions

---
 program/js/tiny_mce/plugins/contextmenu/editor_plugin_src.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/program/js/tiny_mce/plugins/contextmenu/editor_plugin_src.js b/program/js/tiny_mce/plugins/contextmenu/editor_plugin_src.js
index 956fbea..004d011 100644
--- a/program/js/tiny_mce/plugins/contextmenu/editor_plugin_src.js
+++ b/program/js/tiny_mce/plugins/contextmenu/editor_plugin_src.js
@@ -80,6 +80,7 @@
 					t._menu.removeAll();
 					t._menu.destroy();
 					Event.remove(ed.getDoc(), 'click', hide);
+					t._menu = null;
 				}
 			};
 

--
Gitblit v1.9.1