Gallery settings for TinyMCE

git-svn-id: https://develop.svn.wordpress.org/trunk@9847 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-11-23 06:37:15 +00:00
parent 9b46a07ac6
commit 4fa6ae8fa5
21 changed files with 801 additions and 28 deletions

View File

@@ -39,12 +39,14 @@ function convertEntities(o) {
return s;
}
if ( typeof o === 'object' ) {
for (var v in o)
o[v] = c(o[v]);
return o;
} else if ( typeof o === 'string' )
if ( typeof o === 'string' )
return c(o);
else if ( typeof o === 'object' )
for (var v in o) {
if ( typeof o[v] === 'string' )
o[v] = c(o[v]);
}
return o;
};
//]]>
</script>