Explorar el Código

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

version-14
Prateeksha Singh hace 8 años
committed by Rushabh Mehta
padre
commit
743cfc625e
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. +7
    -0
      frappe/public/js/lib/summernote/summernote.js

+ 7
- 0
frappe/public/js/lib/summernote/summernote.js Ver fichero

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


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

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


Cargando…
Cancelar
Guardar