Code

Fixed javascript for pureftpAccount
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Nov 2005 07:35:19 +0000 (07:35 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Nov 2005 07:35:19 +0000 (07:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2139 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/connectivity/class_pureftpdAccount.inc

index ee36f2ae0322a34bbb25f6f7a76ec8877cac3d56..1e5f7457f9658038f591a2d4aa352a78a3bedd55 100644 (file)
@@ -53,7 +53,11 @@ class pureftpdAccount extends plugin
       $smarty->assign("fstate", "");
     } else {
       $smarty->assign("pureftpdState", "");
-      $smarty->assign("fstate", "disabled");
+      if($_SESSION['js']==1){
+        $smarty->assign("fstate", "disabled");
+      }else{
+        $smarty->assign("fstate", "");
+      }
     }
     $smarty->assign("use_FTPStatus", ($this->FTPStatus == "disabled") ? "checked" : "");