summaryrefslogtreecommitdiff
path: root/httemplate/elements/fckeditor/editor/dialog/common/fcknumericfield.htc
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/fckeditor/editor/dialog/common/fcknumericfield.htc')
-rw-r--r--httemplate/elements/fckeditor/editor/dialog/common/fcknumericfield.htc24
1 files changed, 0 insertions, 24 deletions
diff --git a/httemplate/elements/fckeditor/editor/dialog/common/fcknumericfield.htc b/httemplate/elements/fckeditor/editor/dialog/common/fcknumericfield.htc
deleted file mode 100644
index 74f26d0..0000000
--- a/httemplate/elements/fckeditor/editor/dialog/common/fcknumericfield.htc
+++ /dev/null
@@ -1,24 +0,0 @@
-<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>