r1458 - branches/bxe_2_0/js

[email protected]
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Wed Feb 15 09:20:05 2006
New Revision: 1458

Modified:
   branches/bxe_2_0/js/widget.js
Log:
add f7 note

Modified: branches/bxe_2_0/js/widget.js
==============================================================================
--- branches/bxe_2_0/js/widget.js	(original)
+++ branches/bxe_2_0/js/widget.js	Wed Feb 15 09:20:05 2006
@@ -491,11 +491,12 @@
 	if (buttons[id]['type'] == "function") {
 		this.node.addEventListener("click", function(e) { eval(buttons[id]['data']+"(e)") }, false);
 	} else if (buttons[id]['type'] == "insertElement" || buttons[id]['type'] == "InsertElement") {
-			this.node.addEventListener("click",function(e) { var sel = window.getSelection();
+		this.node.addEventListener("click",function(e) { var sel = window.getSelection();
 			if (bxe_checkForSourceMode(sel)) {
 				return false;
 			}
 			var object = bxe_Node_createNS(1, e.target.ElementNamespaceURI, buttons[id]['data']);
+			
 			sel.insertNode(object);}, false);
 	} else if (buttons[id]['type'] == "event") {
 		this.node.addEventListener("click",function(e) { 
@@ -533,6 +534,8 @@
 	htmltext += '<tr><td><a href="http://twingle.mozdev.org">Twingle</a>/Stephan Richter &nbsp;</td><td> (jsdav.js library) </td></tr>';
 	htmltext += '<tr><td><a href="http://kupu.oscom.org">Kupu</a> &nbsp;</td><td> (ImageDrawer) </td></tr>';
 	htmltext += '<tr><td>Ludovic Gasc</td><td> (i18n Support, French Translation) </td></tr>';
+	htmltext += '<tr><td><br/></td></tr>';	
+	htmltext += '<tr><td><b>Hit F7 to get a cursor.</b></td></tr>';
 	
 	htmltext += '<tr id="okButton" style="display: none" ><td> </td><td><p/><input type="submit" value="OK"/></td></tr>';
 	htmltext += '<tr ><td colspan="2" id="AboutBoxScroller" > </td></tr>';
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.