summaryrefslogtreecommitdiff
path: root/httemplate/elements/fckeditor/editor/dialog/common/moz-bindings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/fckeditor/editor/dialog/common/moz-bindings.xml')
-rw-r--r--httemplate/elements/fckeditor/editor/dialog/common/moz-bindings.xml30
1 files changed, 0 insertions, 30 deletions
diff --git a/httemplate/elements/fckeditor/editor/dialog/common/moz-bindings.xml b/httemplate/elements/fckeditor/editor/dialog/common/moz-bindings.xml
deleted file mode 100644
index a45757730..000000000
--- a/httemplate/elements/fckeditor/editor/dialog/common/moz-bindings.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?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> \ No newline at end of file