forked from extern/egroupware
Fix events in planner view did not resize if window was resized
This commit is contained in:
parent
5ce0060f71
commit
4ca32f82a5
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
* @augments et2_valueWidget
|
* @augments et2_valueWidget
|
||||||
*/
|
*/
|
||||||
var et2_calendar_planner_row = (function(){ "use strict"; return et2_valueWidget.extend([et2_IDetachedDOM],
|
var et2_calendar_planner_row = (function(){ "use strict"; return et2_valueWidget.extend([et2_IResizeable],
|
||||||
{
|
{
|
||||||
attributes: {
|
attributes: {
|
||||||
start_date: {
|
start_date: {
|
||||||
@ -708,21 +708,21 @@ var et2_calendar_planner_row = (function(){ "use strict"; return et2_valueWidget
|
|||||||
return pos;
|
return pos;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// Resizable interface
|
||||||
/**
|
/**
|
||||||
* Code for implementing et2_IDetachedDOM
|
* Resize
|
||||||
*
|
*
|
||||||
* @param {array} _attrs array to add further attributes to
|
* Parent takes care of setting proper width & height for the containing div
|
||||||
|
* here we just need to adjust the events to fit the new size.
|
||||||
*/
|
*/
|
||||||
getDetachedAttributes: function(_attrs) {
|
resize: function ()
|
||||||
|
{
|
||||||
},
|
if(this.disabled || !this.div.is(':visible') || this._parent.disabled)
|
||||||
|
{
|
||||||
getDetachedNodes: function() {
|
return;
|
||||||
return [this.getDOMNode()];
|
}
|
||||||
},
|
|
||||||
|
|
||||||
setDetachedAttributes: function(_nodes, _values) {
|
|
||||||
|
|
||||||
|
this.position_event();
|
||||||
}
|
}
|
||||||
|
|
||||||
});}).call(this);
|
});}).call(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user