[Jifty-commit] r3420 - in jifty/trunk:
share/plugins/Jifty/Plugin/AdminUI/web/templates/__jifty/admin
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sat Jun 9 17:24:22 EDT 2007
Author: jesse
Date: Sat Jun 9 17:24:22 2007
New Revision: 3420
Modified:
jifty/trunk/ (props changed)
jifty/trunk/share/plugins/Jifty/Plugin/AdminUI/web/templates/__jifty/admin/index.html
Log:
r58193 at pinglin: jesse | 2007-06-09 17:23:33 -0400
* Don't trip over classes we can't require
Modified: jifty/trunk/share/plugins/Jifty/Plugin/AdminUI/web/templates/__jifty/admin/index.html
==============================================================================
--- jifty/trunk/share/plugins/Jifty/Plugin/AdminUI/web/templates/__jifty/admin/index.html (original)
+++ jifty/trunk/share/plugins/Jifty/Plugin/AdminUI/web/templates/__jifty/admin/index.html Sat Jun 9 17:24:22 2007
@@ -19,7 +19,7 @@
<h2><% _('Actions') %></h2>
<ul>
% foreach my $action (Jifty->api->actions) {
-% Jifty::Util->require($action);
+% next unless (Jifty::Util->try_to_require($action));
% next if ( $action->can('autogenerated') and $action->autogenerated);
<li><% Jifty->web->link( url => '/__jifty/admin/action/'.$action, label => $action) %></li>
% }
More information about the Jifty-commit
mailing list