mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
TinyMCE 3.05 from azaozz. fixes #6195
git-svn-id: https://develop.svn.wordpress.org/trunk@7270 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* $Id: validate.js 520 2008-01-07 16:30:32Z spocke $
|
||||
* $Id: validate.js 673 2008-03-06 13:26:20Z spocke $
|
||||
*
|
||||
* Various form validation methods.
|
||||
*
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user