Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 421877 - [client] Spaces not removed from outliner IDs
--Signed-off-by: Elijah El-Haddad <elijahe@ca.ibm.com>
  • Loading branch information
elijahe committed Nov 15, 2013
1 parent 8ccf4fa commit fb97003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundles/org.eclipse.orion.client.ui/web/orion/outliner.js
Expand Up @@ -119,7 +119,7 @@ define([
return item.outlinerId;
}
// Generate an id. Since these id's are used in the DOM, we strip out characters that shouldn't be in a DOM id.
var originalId = item.label.replace(/[\\\/\.\:\-\_]/g, "");
var originalId = item.label.replace(/[\\\/\.\:\-\_\s]/g, "");
var id = originalId;
var number = 0;
// We might have duplicate id's if the outline items are duplicated, or if we happen to have another dom id using
Expand Down

0 comments on commit fb97003

Please sign in to comment.