Revision 4001,
725 bytes
checked in by rafaelraymundo, 13 years ago
(diff) |
Ticket #1615 - Componente novo para agenda......................................
|
Line | |
---|
1 | scheduler.attachEvent("onTemplatesReady",function(){
|
---|
2 | scheduler.xy.scroll_width = 0;
|
---|
3 |
|
---|
4 | var old = scheduler.render_view_data;
|
---|
5 | scheduler.render_view_data=function(){
|
---|
6 | var data = this._els["dhx_cal_data"][0];
|
---|
7 | data.firstChild._h_fix = true;
|
---|
8 |
|
---|
9 | old.apply(scheduler,arguments);
|
---|
10 |
|
---|
11 |
|
---|
12 |
|
---|
13 | var height = parseInt(data.style.height);
|
---|
14 | data.style.height="1px";
|
---|
15 | data.style.height=data.scrollHeight+"px";
|
---|
16 |
|
---|
17 | this._obj.style.height = this._obj.clientHeight + data.scrollHeight - height + "px";
|
---|
18 | }
|
---|
19 |
|
---|
20 | var old_s=scheduler._reset_month_scale;
|
---|
21 | scheduler._reset_month_scale=function(a,b,c){
|
---|
22 | var dummy = {clientHeight:100};
|
---|
23 | old_s.apply(scheduler,[dummy,b,c]);
|
---|
24 | a.innerHTML = dummy.innerHTML;
|
---|
25 | }
|
---|
26 |
|
---|
27 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.