[freeside-commits] freeside/httemplate/elements/fckeditor/editor/dialog/common fck_dialog_common.css, NONE, 1.1 fck_dialog_common.js, NONE, 1.1 fcknumericfield.htc, NONE, 1.1 moz-bindings.xml, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Wed Aug 1 15:25:18 PDT 2007
- Previous message: [freeside-commits] freeside/httemplate/elements/fckeditor/editor/dialog fck_about.html, NONE, 1.1 fck_anchor.html, NONE, 1.1 fck_button.html, NONE, 1.1 fck_checkbox.html, NONE, 1.1 fck_colorselector.html, NONE, 1.1 fck_docprops.html, NONE, 1.1 fck_find.html, NONE, 1.1 fck_flash.html, NONE, 1.1 fck_form.html, NONE, 1.1 fck_hiddenfield.html, NONE, 1.1 fck_image.html, NONE, 1.1 fck_link.html, NONE, 1.1 fck_listprop.html, NONE, 1.1 fck_paste.html, NONE, 1.1 fck_radiobutton.html, NONE, 1.1 fck_replace.html, NONE, 1.1 fck_select.html, NONE, 1.1 fck_smiley.html, NONE, 1.1 fck_source.html, NONE, 1.1 fck_specialchar.html, NONE, 1.1 fck_spellerpages.html, NONE, 1.1 fck_table.html, NONE, 1.1 fck_tablecell.html, NONE, 1.1 fck_template.html, NONE, 1.1 fck_textarea.html, NONE, 1.1 fck_textfield.html, NONE, 1.1
- Next message: [freeside-commits] freeside/httemplate/elements/fckeditor/editor/dialog/common/images locked.gif, NONE, 1.1 reset.gif, NONE, 1.1 unlocked.gif, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/elements/fckeditor/editor/dialog/common
In directory wavetail:/tmp/cvs-serv23435/httemplate/elements/fckeditor/editor/dialog/common
Added Files:
fck_dialog_common.css fck_dialog_common.js fcknumericfield.htc
moz-bindings.xml
Log Message:
event refactor, landing on HEAD!
--- NEW FILE: moz-bindings.xml ---
<?xml version="1.0" encoding="utf-8" ?>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="numericfield">
<implementation>
<constructor>
this.keypress = CheckIsDigit ;
</constructor>
<method name="CheckIsDigit">
<body>
<![CDATA[
var iCode = keyCode ;
var bAccepted =
(
( iCode >= 48 && iCode <= 57 ) // Numbers
|| (iCode >= 37 && iCode <= 40) // Arrows
|| iCode == 8 // Backspace
|| iCode == 46 // Delete
) ;
return bAccepted ;
]]>
</body>
</method>
</implementation>
<events>
<event type="keypress" value="CheckIsDigit()" />
</events>
</binding>
</bindings>
--- NEW FILE: fck_dialog_common.js ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: fck_dialog_common.css ---
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://www.gnu.org/licenses/gpl.html
*
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
* http://www.gnu.org/licenses/lgpl.html
*
* - Mozilla Public License Version 1.1 or later (the "MPL")
* http://www.mozilla.org/MPL/MPL-1.1.html
*
* == END LICENSE ==
*
* This is the CSS file used for interface details in some dialog
* windows.
*/
.ImagePreviewArea
{
border: #000000 1px solid;
overflow: auto;
width: 100%;
height: 170px;
background-color: #ffffff;
}
.FlashPreviewArea
{
border: #000000 1px solid;
padding: 5px;
overflow: auto;
width: 100%;
height: 170px;
background-color: #ffffff;
}
.BtnReset
{
float: left;
background-position: center center;
background-image: url(images/reset.gif);
width: 16px;
height: 16px;
background-repeat: no-repeat;
border: 1px none;
font-size: 1px ;
}
.BtnLocked, .BtnUnlocked
{
float: left;
background-position: center center;
background-image: url(images/locked.gif);
width: 16px;
height: 16px;
background-repeat: no-repeat;
border: none 1px;
font-size: 1px ;
}
.BtnUnlocked
{
background-image: url(images/unlocked.gif);
}
.BtnOver
{
border: outset 1px;
cursor: pointer;
cursor: hand;
}
.FCK__FieldNumeric
{
behavior: url(common/fcknumericfield.htc) ;
}
--- NEW FILE: fcknumericfield.htc ---
<public:component lightweight="true">
<script language="javascript">
function CheckIsDigit()
{
var iCode = event.keyCode ;
event.returnValue =
(
( iCode >= 48 && iCode <= 57 ) // Numbers
|| (iCode >= 37 && iCode <= 40) // Arrows
|| iCode == 8 // Backspace
|| iCode == 46 // Delete
) ;
return event.returnValue ;
}
this.onkeypress = CheckIsDigit ;
</script>
</public:component>
- Previous message: [freeside-commits] freeside/httemplate/elements/fckeditor/editor/dialog fck_about.html, NONE, 1.1 fck_anchor.html, NONE, 1.1 fck_button.html, NONE, 1.1 fck_checkbox.html, NONE, 1.1 fck_colorselector.html, NONE, 1.1 fck_docprops.html, NONE, 1.1 fck_find.html, NONE, 1.1 fck_flash.html, NONE, 1.1 fck_form.html, NONE, 1.1 fck_hiddenfield.html, NONE, 1.1 fck_image.html, NONE, 1.1 fck_link.html, NONE, 1.1 fck_listprop.html, NONE, 1.1 fck_paste.html, NONE, 1.1 fck_radiobutton.html, NONE, 1.1 fck_replace.html, NONE, 1.1 fck_select.html, NONE, 1.1 fck_smiley.html, NONE, 1.1 fck_source.html, NONE, 1.1 fck_specialchar.html, NONE, 1.1 fck_spellerpages.html, NONE, 1.1 fck_table.html, NONE, 1.1 fck_tablecell.html, NONE, 1.1 fck_template.html, NONE, 1.1 fck_textarea.html, NONE, 1.1 fck_textfield.html, NONE, 1.1
- Next message: [freeside-commits] freeside/httemplate/elements/fckeditor/editor/dialog/common/images locked.gif, NONE, 1.1 reset.gif, NONE, 1.1 unlocked.gif, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list