From 6ce1fa14cae87c1711ea04f420ccc12633e187d0 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Sat, 1 Feb 2014 19:39:02 +0100 Subject: added busy cursor for enabling/disabling service also --- lib/AdminPanel/Module/Services.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/AdminPanel/Module') diff --git a/lib/AdminPanel/Module/Services.pm b/lib/AdminPanel/Module/Services.pm index 675646b..d8c5a4d 100644 --- a/lib/AdminPanel/Module/Services.pm +++ b/lib/AdminPanel/Module/Services.pm @@ -459,10 +459,11 @@ sub _servicePanel { if ($wEvent->reason() == $yui::YEvent::ValueChanged) { $item = $serviceTbl->changedItem(); if ($item) { - + yui::YUI::app()->busyCursor(); set_service($item->label(), $item->checked()); # we can push/pop service, but this (slower) should return real situation $self->_refreshRunningServices(); + yui::YUI::app()->normalCursor(); } } } -- cgit v1.2.1