[otrs-cvs] otrs/Kernel/Output/HTML/Standard/ProcessManagement Article.dtl, 1.6, 1.7

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/Output/HTML/Standard/ProcessManagement
In directory lancelot:/tmp/cvs-serv16941/Kernel/Output/HTML/Standard/ProcessManagement

Modified Files:
	Article.dtl 
Log Message:
2013-02-05 Fixed bug#9126 - ProcessManagement: both article fields must be filled.

Author: mg

Index: Article.dtl
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/Standard/ProcessManagement/Article.dtl,v
retrieving revision 1.6
retrieving revision 1.7
diff -2 -u -d -r1.6 -r1.7
--- Article.dtl	20 Nov 2012 15:29:48 -0000	1.6
+++ Article.dtl	5 Feb 2013 09:01:49 -0000	1.7
@@ -1,5 +1,5 @@
 # --
 # Article.dtl - provides Article fields HTML for the AgentTicketProcess.pm
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -28,5 +28,5 @@
 </label>
 <div class="Field">
-    <input type="text" id="Subject" name="Subject" value="$QData{"Subject"}" class="W75pc $QData{"ValidateRequired"} $QData{"SubjectServerError"}"/>
+    <input type="text" id="Subject" name="Subject" value="$QData{"Subject"}" class="W75pc $QData{"ValidateRequired"} $QData{"SubjectServerError"} Validate_DependingRequiredAND Validate_Depending_RichText"/>
     <div id="SubjectError" class="TooltipErrorMessage"><p>$Text{"This field is required."}</p></div>
     <div id="SubjectServerError" class="TooltipErrorMessage"><p>$Text{"This field is required."}</p></div>
@@ -47,5 +47,5 @@
 $Include{"RichTextEditor"}
 <!-- dtl:block:RichText -->
-    <textarea id="RichText" class="RichText $QData{"ValidateRequired"} $QData{"BodyServerError"}" name="Body" rows="15" cols="$Config{"Ticket::Frontend::TextAreaNote"}">$QData{"Body"}</textarea>
+    <textarea id="RichText" class="RichText $QData{"ValidateRequired"} $QData{"BodyServerError"} Validate_DependingRequiredAND Validate_Depending_Subject" name="Body" rows="15" cols="$Config{"Ticket::Frontend::TextAreaNote"}">$QData{"Body"}</textarea>
     <div id="RichTextError" class="TooltipErrorMessage"><p>$Text{"This field is required."}</p></div>
     <div id="RichTextServerError" class="TooltipErrorMessage"><p>$Text{"This field is required."}</p></div>
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.