浏览代码

[fix] hide popovers on blur frappe/erpnext#8721 (#3330)

version-14
Prateeksha Singh 8 年前
committed by Rushabh Mehta
父节点
当前提交
743cfc625e
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. +7
    -0
      frappe/public/js/lib/summernote/summernote.js

+ 7
- 0
frappe/public/js/lib/summernote/summernote.js 查看文件

@@ -3833,6 +3833,13 @@
context.triggerEvent('focusout', event);
});

// hack
$editable.on('blur', function (event) {
setTimeout(function() {
$('.note-popover, .note-control-selection').hide();
}, 500);
});

if (!options.airMode) {
if (options.width) {
$editor.outerWidth(options.width);


正在加载...
取消
保存