From 33d939aca3b085f1cfa420a5f7f56685b2c850a9 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 12 Jul 2005 08:49:56 +0000 Subject: [PATCH] IE Fix, because IE lets you choose disabled option fields git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@943 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofax/faxaccount/class_gofaxAccount.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/gofax/faxaccount/class_gofaxAccount.inc b/plugins/gofax/faxaccount/class_gofaxAccount.inc index 83fdbbd62..d11c1eae7 100644 --- a/plugins/gofax/faxaccount/class_gofaxAccount.inc +++ b/plugins/gofax/faxaccount/class_gofaxAccount.inc @@ -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); } -- 2.30.2