mirror of
https://github.com/e107inc/e107.git
synced 2025-07-28 10:20:45 +02:00
Updated TinyMce to 3.2.5.
First incarnation of the admin configuration page added. Language file still to come.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* $Id: validate.js,v 1.1 2006-12-22 18:45:32 e107coders Exp $
|
||||
* $Id: validate.js,v 1.2 2009-07-01 02:52:08 e107coders Exp $
|
||||
*
|
||||
* Various form validation methods.
|
||||
*
|
||||
* @author Moxiecode
|
||||
* @copyright Copyright <20> 2004-2006, Moxiecode Systems AB, All rights reserved.
|
||||
* @copyright Copyright <20> 2004-2008, Moxiecode Systems AB, All rights reserved.
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -31,7 +31,7 @@ var Validator = {
|
||||
},
|
||||
|
||||
isSize : function(s) {
|
||||
return this.test(s, '^[0-9]+(px|%)?$');
|
||||
return this.test(s, '^[0-9]+(%|in|cm|mm|em|ex|pt|pc|px)?$');
|
||||
},
|
||||
|
||||
isId : function(s) {
|
||||
@@ -110,7 +110,7 @@ var AutoValidator = {
|
||||
},
|
||||
|
||||
reset : function(e) {
|
||||
var t = new Array('label', 'input', 'select', 'textarea');
|
||||
var t = ['label', 'input', 'select', 'textarea'];
|
||||
var i, j, nl, s = this.settings;
|
||||
|
||||
if (e == null)
|
||||
|
Reference in New Issue
Block a user