FIX: somehow button is not set

This commit is contained in:
Sam 2014-07-18 10:31:02 +10:00
parent 1359a02128
commit da26aae41e

View file

@ -1420,7 +1420,7 @@
inputBox.focus();
if (button.textOp) {
if (button && button.textOp) {
if (undoManager) {
undoManager.setCommandMode();