View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - addFieldInTextBoxForEmailTemplateItem not working with normal text editor - ProjeQtOr
 

addFieldInTextBoxForEmailTemplateItem not working with normal text editor

More
22 Jun 2021 15:30 #1 by Baryhobal
It seems that the function addFieldInTextBoxForEmailTemplateItem (view/js/projeqtor.js:5756 V9.1.2) doesn't work with the normal text editor. Indeed, on line 5748, idTextBox is set to dojo.byId('template').value, but on line 5781, it tries to use setValue on idTextBox. I believe line 5748 should be var idTextBox = dojo.byId('template');

Line 5748:
var idTextBox = dojo.byId('template').value;

Line 5781:
idTextBox.setValue(newText);

Corrected line 5748:
var idTextBox = dojo.byId('template');
The following user(s) said Thank You: Flou

Please Log in or Create an account to join the conversation.

More
23 Jun 2021 10:40 - 23 Jun 2021 10:50 #2 by Flou
Hello,

thank you for finding and fixing a problem.
Your fixe it's right, it must replace  on ligne 5748 in view/js/projeqtor.js

var idTextBox = dojo.byId('template').value;

by:

var idTextBox = dojo.byId('template');

This correction will be available in V9.2.1.
Last edit: 23 Jun 2021 10:50 by Flou.

Please Log in or Create an account to join the conversation.

More
24 Jun 2021 12:26 #3 by Baryhobal
I just tested the fix. It seems it should even be dijit.byId and not dojo.byId

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.040 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.