summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin/admin-header.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-01-02 17:10:03 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-01-02 17:10:03 +0000
commit4a7ec3a72a69e8f66dce65590900d59978798384 (patch)
tree23037940fad9aa64644958ac91e7fdadf8cd0f5d /wp-inst/wp-admin/admin-header.php
parented4930953197324008fe13ae2eee874bbcbc48fd (diff)
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@489 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/admin-header.php')
-rw-r--r--wp-inst/wp-admin/admin-header.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-inst/wp-admin/admin-header.php b/wp-inst/wp-admin/admin-header.php
index 5b96d78..c340b5d 100644
--- a/wp-inst/wp-admin/admin-header.php
+++ b/wp-inst/wp-admin/admin-header.php
@@ -130,7 +130,7 @@ var newcat;
function newCatAddIn() {
if ( !document.getElementById('jaxcat') ) return false;
- var ajaxcat = document.createElement('p');
+ var ajaxcat = document.createElement('span');
ajaxcat.id = 'ajaxcat';
newcat = document.createElement('input');
@@ -204,7 +204,7 @@ function newCatCompletion() {
ids = myPload( ajaxCat.response );
names = myPload( newcat.value );
for ( i = 0; i < ids.length; i++ ) {
- id = ids[i].replace(/[\n\r\l]+/g, "");
+ id = ids[i].replace(/[\n\r]+/g, "");
if ( id == '-1' ) {
p.innerHTML = "<?php echo addslashes(__("You don't have permission to do that.")); ?>";
return;