- Palette.createChild("span", row).innerText = "Filter:";
- this.filterBar = Palette.createChild("input", Palette.createChild("span", row));
- this.filterBar.type = "search";
- this.filterBar.onkeyup = function() {
- palette.filter(palette.filterBar.value)
- };
- this.filterBar.onclick = this.filterBar.onkeyup;
- var go = document.createElement("button");
- Palette.createChild("span", row).appendChild(go);
- go.innerText = "Redraw"
- go.onclick = function() {
- palette.onchange();
+ // CURRENTLY HIDDEN.
+ var tmp = Palette.createChild("button", Palette.createChild("span", header));
+ tmp.textContent = "Copy"
+ tmp.onclick = function() {
+ var textarea = new TextArea();
+ textarea.show("header", "Now is the time for all good men\nto come to the aid of their country");