Oops, add this.open fallback to the open binder.
This commit is contained in:
parent
c90585665a
commit
6de0ad8e36
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ function Editor(elements, on_open, on_save, on_cancel)
|
||||||
this.open_button.classList.add("editor_button");
|
this.open_button.classList.add("editor_button");
|
||||||
this.open_button.classList.add("editor_open_button");
|
this.open_button.classList.add("editor_open_button");
|
||||||
this.open_button.classList.add("green_button");
|
this.open_button.classList.add("green_button");
|
||||||
this.open_button.onclick = this.binder(on_open);
|
this.open_button.onclick = this.binder(on_open, this.open);
|
||||||
toolbox.appendChild(this.open_button);
|
toolbox.appendChild(this.open_button);
|
||||||
|
|
||||||
this.save_button = document.createElement("button");
|
this.save_button = document.createElement("button");
|
||||||
|
|
Loading…
Reference in a new issue