summaryrefslogtreecommitdiffstats
path: root/codebase/sources/ext/dhtmlxscheduler_all_timed.js
diff options
context:
space:
mode:
authorAlexKlimenkov <shurick.klimenkov@gmail.com>2017-01-31 18:38:36 +0300
committerAlexKlimenkov <shurick.klimenkov@gmail.com>2017-01-31 18:38:36 +0300
commitae92cf850550a9be965db867ba4bfb5651a18e5f (patch)
treebbf70ce45cc6e608def6e9a81570febe4528208b /codebase/sources/ext/dhtmlxscheduler_all_timed.js
parent2e509c1f562c4f471d766c9b3532370f847f0839 (diff)
downloadscheduler-ae92cf850550a9be965db867ba4bfb5651a18e5f.zip
scheduler-ae92cf850550a9be965db867ba4bfb5651a18e5f.tar.gz
scheduler-ae92cf850550a9be965db867ba4bfb5651a18e5f.tar.bz2
[update] version 4.4.0
Diffstat (limited to 'codebase/sources/ext/dhtmlxscheduler_all_timed.js')
-rw-r--r--codebase/sources/ext/dhtmlxscheduler_all_timed.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/codebase/sources/ext/dhtmlxscheduler_all_timed.js b/codebase/sources/ext/dhtmlxscheduler_all_timed.js
index d3563c0..3429732 100644
--- a/codebase/sources/ext/dhtmlxscheduler_all_timed.js
+++ b/codebase/sources/ext/dhtmlxscheduler_all_timed.js
@@ -1,6 +1,6 @@
/*
@license
-dhtmlxScheduler v.4.3.1
+dhtmlxScheduler v.4.4.0 Stardard
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited.
@@ -18,20 +18,18 @@ This software is covered by GPL license. You also can obtain Commercial or Enter
// regular copy causes problems with recurrings which have series event as a prototype
scheduler._safe_copy = function(event){
var proto = null,
- copy = null;
+ copy = scheduler._copy_event(event);
if(event.event_pid){
proto = scheduler.getEvent(event.event_pid);
}
if (proto && proto.isPrototypeOf(event)) {
- copy = scheduler._copy_event(event);
delete copy.event_length;
delete copy.event_pid;
delete copy.rec_pattern;
delete copy.rec_type;
- } else {
- copy = scheduler._lame_clone(event);
}
+
return copy;
};