r1555 - branches/bxe_2_0/js

[email protected] Fri, 20 Oct 2006 13:36:02 +0200 (CEST)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Fri Oct 20 13:36:00 2006
New Revision: 1555

Modified:
   branches/bxe_2_0/js/bxeConfig.js
   branches/bxe_2_0/js/bxeFunctions.js
Log:
added specialchars popup

Modified: branches/bxe_2_0/js/bxeConfig.js
==============================================================================
--- branches/bxe_2_0/js/bxeConfig.js	(original)
+++ branches/bxe_2_0/js/bxeConfig.js	Fri Oct 20 13:36:00 2006
@@ -131,6 +131,7 @@
 	bxe_config.events["OrderedList"] = "bxe_OrderedList";
 	bxe_config.events["UnorderedList"] = "bxe_UnorderedList";
 	bxe_config.events["InsertAsset"] = "bxe_InsertAsset";
+	bxe_config.events["InsertSpecialchars"] = "bxe_InsertSpecialchars";
 	bxe_config.events["changeLinesContainer"] = "bxe_changeLinesContainer";
 	bxe_config.events["Exit"] = "bxe_exit";
 	bxe_config.events["Undo"] = "bxe_history_undo";

Modified: branches/bxe_2_0/js/bxeFunctions.js
==============================================================================
--- branches/bxe_2_0/js/bxeFunctions.js	(original)
+++ branches/bxe_2_0/js/bxeFunctions.js	Fri Oct 20 13:36:00 2006
@@ -2146,6 +2146,11 @@
 		return eval(cb["content"] +"(node)");
 	}
 }
+
+function bxe_InsertSpecialchars() {
+	var pop = window.open(mozile_root_dir+'/plugins/specialchars/specialcharacters.xml',"popup","width=400,height=500,resizable=yes,scrollbars=yes");
+		pop.focus();
+}
 		
 function bxe_checkIfNotALink (node) {
 	var sel = window.getSelection();
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs