From e1ce3196f48c53580d7aa29ca0dba376e223b88f Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 4 Jun 2009 23:23:11 +0800 Subject: Rewrite the server_add to have the server format the selection when a branch is opened. Sub trees re only retrieved when the branch is opened. Changed the start task processing to fill in any subtrees that are selected, but were never expanded on the client. Added the loading icon. Signed-off-by: Bharat Mediratta --- modules/server_add/helpers/server_add_theme.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/server_add/helpers') diff --git a/modules/server_add/helpers/server_add_theme.php b/modules/server_add/helpers/server_add_theme.php index 56e85a25..ac7553de 100644 --- a/modules/server_add/helpers/server_add_theme.php +++ b/modules/server_add/helpers/server_add_theme.php @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class server_add_theme_Core { + static function head($theme) { + return html::script("modules/server_add/js/server_add.js") . "\n";; + } + static function admin_head($theme) { $head = array(); if (strpos(Router::$current_uri, "admin/server_add") !== false) { @@ -30,7 +34,7 @@ class server_add_theme_Core { $head[] = html::script("lib/jquery.autocomplete.js"); $head[] = html::script("modules/server_add/js/admin.js"); } - + return implode("\n", $head); } } \ No newline at end of file -- cgit v1.2.3