forked from extern/egroupware
Fix active calendar tab could not be closed
This commit is contained in:
parent
a837f8d30c
commit
ce48b78e54
@ -3294,11 +3294,14 @@ app.classes.calendar = AppJS.extend(
|
||||
}
|
||||
$j(window).on('resize.calendar-owner', function() {
|
||||
var preferred_width = $j('#calendar-et2_target').children().first().outerWidth()||0;
|
||||
if(app.calendar && app.calendar.sidebox_et2)
|
||||
{
|
||||
var owner = app.calendar.sidebox_et2.getWidgetById('owner');
|
||||
if(preferred_width && owner.input.hasClass("chzn-done"))
|
||||
{
|
||||
owner.input.next().css('width',preferred_width);
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user