Browse Source

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

version-14
Prateeksha Singh 8 years ago
committed by Rushabh Mehta
parent
commit
743cfc625e
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      frappe/public/js/lib/summernote/summernote.js

+ 7
- 0
frappe/public/js/lib/summernote/summernote.js View File

@@ -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);


Loading…
Cancel
Save