Revision 45,
439 bytes
checked in by niltonneto, 17 years ago
(diff) |
Implementação do FCKEDITOR na edição de artigos no news_admin, para permitir texto rico.
|
-
Property svn:executable set to
*
-
Property svn:mime-type set to
application/octet-stream
|
Line | |
---|
1 | <public:component lightweight="true">
|
---|
2 |
|
---|
3 | <script language="javascript">
|
---|
4 |
|
---|
5 | function CheckIsDigit()
|
---|
6 | {
|
---|
7 | var iCode = event.keyCode ;
|
---|
8 |
|
---|
9 | event.returnValue =
|
---|
10 | (
|
---|
11 | ( iCode >= 48 && iCode <= 57 ) // Numbers
|
---|
12 | || (iCode >= 37 && iCode <= 40) // Arrows
|
---|
13 | || iCode == 8 // Backspace
|
---|
14 | || iCode == 46 // Delete
|
---|
15 | ) ;
|
---|
16 |
|
---|
17 | return event.returnValue ;
|
---|
18 | }
|
---|
19 |
|
---|
20 | this.onkeypress = CheckIsDigit ;
|
---|
21 |
|
---|
22 | </script>
|
---|
23 |
|
---|
24 | </public:component>
|
---|
Note: See
TracBrowser
for help on using the repository browser.