mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 18:52:07 +08:00
Make task description TinyMCE init in line with the vue one [SCI-9682]
This commit is contained in:
parent
2580e1e1eb
commit
83eb4eeb16
1 changed files with 6 additions and 1 deletions
|
@ -12,7 +12,12 @@ var selectedRow = null;
|
||||||
function initEditMyModuleDescription() {
|
function initEditMyModuleDescription() {
|
||||||
var viewObject = $('#my_module_description_view');
|
var viewObject = $('#my_module_description_view');
|
||||||
viewObject.on('click', function(e) {
|
viewObject.on('click', function(e) {
|
||||||
if ($(e.target).hasClass('record-info-link') || $(e.target).parent().hasClass('record-info-link')) return;
|
if (e && $(e.target).prop("tagName") === 'A') return;
|
||||||
|
if (e && $(e.target).hasClass('atwho-user-popover')) return;
|
||||||
|
if (e && $(e.target).hasClass('record-info-link')) return;
|
||||||
|
if (e && $(e.target).parent().hasClass('record-info-link')) return;
|
||||||
|
if (e && $(e.target).parent().hasClass('atwho-inserted')) return;
|
||||||
|
|
||||||
TinyMCE.init(
|
TinyMCE.init(
|
||||||
'#my_module_description_textarea',
|
'#my_module_description_textarea',
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue