修复保存bug

This commit is contained in:
吕金泽 2019-12-17 16:38:24 +08:00
parent a7ddb07e4d
commit 00e1feb085

View File

@ -86,9 +86,11 @@ $(function(){
});
};
$.ctrl('S', function() {
$('input,textarea').blur();
Save();
});
$.ctrl('Q', function() {
$('input,textarea').blur();
$(".btn-test").click();
});
var resize = $('.resize-container')[0]
@ -189,7 +191,7 @@ $(function(){
skin : 'codemirror',
area : '800px'
})
}).on("keyup","input,textarea",function(){
}).on("blur","input,textarea",function(){
var $input = $(this);
if($input.attr('name') == 'value'){
var cell = editor.getSelectedCell();