lpkf
March 23, 2010, 11:46am
#1
Hello all,
I would like to suppress editStop when user press Enter in a textarea inside lightbox.
Looking at documentation and this forum, I cannot find it. Can you point me directions and, if possible, a sample code on how can I do it?
Best regards,
Luis
In current version it can be changed only by code modification
dhtmlxscheduler.js
...
if (code==13) scheduler.editStop(true);
...
switch((e||event).keyCode){
case 13:
In both cases 13 can be replaced with any other key code
By the way, shift-enter can be used to add a new line.
lpkf
March 24, 2010, 9:44am
#3
Stanislav,
Thanks for your answer. I would like to avoid change the source code of dhtmlxscheduler. I would make changes and annotations to remember to test when new versions will be available.
Best regards,
Luis
We will move the key-codes to the configurable constants in the next version of scheduler.