Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Bram Chen 2015-01-07 14:07:04 +08:00
commit df3d346792

View file

@ -73,8 +73,10 @@ EditTextWidget.prototype.render = function(parent,nextSibling) {
this.fixHeight();
// Focus field
if(this.editFocus === "true") {
domNode.focus();
domNode.select();
if(domNode.focus && domNode.select) {
domNode.focus();
domNode.select();
}
}
};