Skip to content

Commit

Permalink
Merge pull request fex-team#311 from yeanzhi/master
Browse files Browse the repository at this point in the history
修复只读模式下,双击仍然可以编辑节点的问题
  • Loading branch information
zhangbobell authored Nov 2, 2016
2 parents e966ed8 + 5b65701 commit dcf3919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ define(function(require, exports, module) {
});

minder.on('dblclick', function() {
if (minder.getSelectedNode()) {
if (minder.getSelectedNode() && minder._status !== 'readonly') {
editText();
}
});
Expand Down

0 comments on commit dcf3919

Please sign in to comment.