Disable home (blank page) for now, to at least prevent errors.

This commit is contained in:
Nathan Gray 2014-01-30 18:15:42 +00:00
parent 572a6fa637
commit 6f8287a0ed
2 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,6 @@ class home_list_portlet extends home_portlet
function($response, $script) { function($response, $script) {
// Bind to load event to make sure template is loaded first // Bind to load event to make sure template is loaded first
$response->script('$j("#home-index").on("load", function() {'.$script.'});'); $response->script('$j("#home-index").on("load", function() {'.$script.'});');
// Or just call it, in the event of a normal ajax change - no load event
$response->script("try { $script } catch (e) {egw.debug('error', e.message);}");
} }
,$response, $script ,$response, $script
); );

View File

@ -34,6 +34,8 @@ class home_ui
*/ */
public function index($content = array()) public function index($content = array())
{ {
// Disabled, for now
return;
// CSS for Gridster grid layout // CSS for Gridster grid layout
egw_framework::includeCSS('/phpgwapi/js/jquery/gridster/jquery.gridster.css'); egw_framework::includeCSS('/phpgwapi/js/jquery/gridster/jquery.gridster.css');