X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ffckeditor%2Feditor%2Fdialog%2Fcommon%2Fmoz-bindings.xml;fp=httemplate%2Felements%2Ffckeditor%2Feditor%2Fdialog%2Fcommon%2Fmoz-bindings.xml;h=a457577303550c85c8648b0169396c2b6da0382c;hb=eb4ff7f73c5d4bdf74a3472448b5a195598ff4cd;hp=0000000000000000000000000000000000000000;hpb=32b5d3a31f112a381f0a15ac5e3a2204242f3405;p=freeside.git diff --git a/httemplate/elements/fckeditor/editor/dialog/common/moz-bindings.xml b/httemplate/elements/fckeditor/editor/dialog/common/moz-bindings.xml new file mode 100644 index 000000000..a45757730 --- /dev/null +++ b/httemplate/elements/fckeditor/editor/dialog/common/moz-bindings.xml @@ -0,0 +1,30 @@ + + + + + + this.keypress = CheckIsDigit ; + + + + = 48 && iCode <= 57 ) // Numbers + || (iCode >= 37 && iCode <= 40) // Arrows + || iCode == 8 // Backspace + || iCode == 46 // Delete + ) ; + + return bAccepted ; + ]]> + + + + + + + + \ No newline at end of file