summaryrefslogtreecommitdiffstats
path: root/codebase/sources/ext/dhtmlxscheduler_wp.js
diff options
context:
space:
mode:
authorAlexKlimenkov <shurick.klimenkov@gmail.com>2014-06-10 20:50:30 +0300
committerAlexKlimenkov <shurick.klimenkov@gmail.com>2014-06-10 20:50:30 +0300
commitb5a0589955460a44c5428c4cb5429fcfce265d23 (patch)
tree87db58400a3e036de646fb630cbb358beeac3bc1 /codebase/sources/ext/dhtmlxscheduler_wp.js
parente2aaaef8540fabd0b5200a4959c269d6f1ae352e (diff)
downloadscheduler-b5a0589955460a44c5428c4cb5429fcfce265d23.zip
scheduler-b5a0589955460a44c5428c4cb5429fcfce265d23.tar.gz
scheduler-b5a0589955460a44c5428c4cb5429fcfce265d23.tar.bz2
[update] version 4.1.0
Diffstat (limited to 'codebase/sources/ext/dhtmlxscheduler_wp.js')
-rw-r--r--codebase/sources/ext/dhtmlxscheduler_wp.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/codebase/sources/ext/dhtmlxscheduler_wp.js b/codebase/sources/ext/dhtmlxscheduler_wp.js
new file mode 100644
index 0000000..89da447
--- /dev/null
+++ b/codebase/sources/ext/dhtmlxscheduler_wp.js
@@ -0,0 +1,20 @@
+/*
+dhtmlxScheduler v.4.1.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.
+
+(c) Dinamenta, UAB.
+*/
+scheduler.attachEvent("onLightBox",function(){
+ if (this._cover){
+ try{
+ this._cover.style.height = this.expanded ? "100%" : ((document.body.parentNode||document.body).scrollHeight+"px");
+ } catch(e) {}
+ }
+});
+
+scheduler.form_blocks.select.set_value=function(node,value,ev){
+ if (typeof value == "undefined" || value === "")
+ value = (node.firstChild.options[0]||{}).value;
+ node.firstChild.value=value||"";
+}; \ No newline at end of file