Commit 81bcb60f authored by campaign's avatar campaign

修复文字输入

parent 9c5bc685
......@@ -177,7 +177,7 @@ Minder.Receiver = kity.createClass( 'Receiver', {
case keymap.Enter:
case keymap.Tab:
case keymap.F2:
if(keymap.Enter == keyCode && this.isTypeText){
if(keymap.Enter == keyCode && (this.isTypeText || browser.mac && browser.gecko)){
setTextToContainer();
}
if ( this.keydownNode === this.minderNode ) {
......@@ -197,10 +197,11 @@ Minder.Receiver = kity.createClass( 'Receiver', {
if(this.isTypeText){
setTextToContainer();
}
if(browser.mac && browser.gecko)
setTextToContainer();
return true;
}
},
updateIndex: function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment