mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fix calendar-planer SiteMgr block to working with Mambo templates like (javascript free) simple_plain
This commit is contained in:
parent
1a27a7b840
commit
381b9fa1a4
@ -90,7 +90,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
|||||||
init: function()
|
init: function()
|
||||||
{
|
{
|
||||||
// categories have nothing to do with calendar, but eT2 objects loads calendars app.js
|
// categories have nothing to do with calendar, but eT2 objects loads calendars app.js
|
||||||
if (framework && framework.applications.calendar.browser &&
|
if (window.framework && framework.applications.calendar.browser &&
|
||||||
framework.applications.calendar.browser.currentLocation.match('menuaction=preferences\.preferences_categories_ui\.index'))
|
framework.applications.calendar.browser.currentLocation.match('menuaction=preferences\.preferences_categories_ui\.index'))
|
||||||
{
|
{
|
||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
|
@ -344,14 +344,14 @@ class module_calendar_planner extends Module
|
|||||||
)).');'
|
)).');'
|
||||||
. '});});'
|
. '});});'
|
||||||
. '</script>';
|
. '</script>';
|
||||||
|
|
||||||
|
ob_end_clean();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$html .= '<div class="message" align="center">'.lang('No owner selected').'</div>';
|
$html .= '<div class="message" align="center">'.lang('No owner selected').'</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
while(@ob_end_clean());
|
|
||||||
|
|
||||||
return $html;
|
return $html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user