[Openfirst-cvscommit] base/config/functions/wysiwyg/modules button_hr.js,1.1,1.2
Brought to you by:
xtimg
From: Astronouth7303 <ast...@us...> - 2005-04-03 01:52:22
|
Update of /cvsroot/openfirst/base/config/functions/wysiwyg/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv516/config/functions/wysiwyg/modules Modified Files: button_hr.js Log Message: Fixed <hr> instances. (XHTML) Index: button_hr.js =================================================================== RCS file: /cvsroot/openfirst/base/config/functions/wysiwyg/modules/button_hr.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** button_hr.js 20 Aug 2003 14:22:53 -0000 1.1 --- button_hr.js 3 Apr 2005 01:52:13 -0000 1.2 *************** *** 54,58 **** try{ var selection = document[_this.objectId].DOM.selection.createRange(); ! selection.pasteHTML('<hr>'); document[_this.objectId].focus(); } --- 54,58 ---- try{ var selection = document[_this.objectId].DOM.selection.createRange(); ! selection.pasteHTML('<hr />'); document[_this.objectId].focus(); } |