--- a/includes/clientside/sbedit.js Sat Oct 20 21:44:13 2007 -0400
+++ b/includes/clientside/sbedit.js Fri Oct 26 19:28:54 2007 -0400
@@ -164,7 +164,7 @@
var id = input.sbedit_id;
var parent = input.parentNode;
parent.removeChild(input);
- parent.appendChild(document.createTextNode(newname));
+ parent.appendChild(document.createTextNode(( newname == '' ? '<Unnamed>' : newname )));
parent.ondblclick = function() { ajaxRenameSidebarStage1(this, this._idcache); return false; };
var img = document.createElement('img');
img.src = scriptPath + '/images/loading.gif';