Code

IE Fix, because IE lets you choose disabled option fields
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Jul 2005 08:49:56 +0000 (08:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Jul 2005 08:49:56 +0000 (08:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@943 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofax/faxaccount/class_gofaxAccount.inc

index 83fdbbd6279e636fb85938c63076eb821b7c1304..d11c1eae760f773a8546c9a86423d0c2894ced56 100644 (file)
@@ -484,6 +484,11 @@ class gofaxAccount extends plugin
         $message[]= _("The mail address you've entered is invalid.");
       }
     }
+    // IE Fix, IE lets you choose disabled option, stupid browser ... 
+    if((empty($this->goFaxPrinter))&&($this->goFaxDeliveryMode & 64)){
+      $message[]= _("Deliver fax to printer, is only possible if valid printer is given. Please correct your choice.");
+    }
 
     return ($message);
   }