[otrs-cvs] ITSMIncidentProblemManagement/Kernel/Output/HTML/Standard AgentTicketOverviewPreview.dtl, 1.20, 1.20.2.1
"CVS commits notifications of OTRS.org" <[email protected]> Wed, 3 Jul 2013 12:34:20 +0000
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/ITSMIncidentProblemManagement/Kernel/Output/HTML/Standard
In directory lancelot:/tmp/cvs-serv16561/Kernel/Output/HTML/Standard
Modified Files:
Tag: rel-3_1
AgentTicketOverviewPreview.dtl
Log Message:
Updated files to latest framework version.
Author: ub
Index: AgentTicketOverviewPreview.dtl
===================================================================
RCS file: /home/cvs/ITSMIncidentProblemManagement/Kernel/Output/HTML/Standard/AgentTicketOverviewPreview.dtl,v
retrieving revision 1.20
retrieving revision 1.20.2.1
diff -2 -u -d -r1.20 -r1.20.2.1
--- AgentTicketOverviewPreview.dtl 23 Jun 2012 12:11:03 -0000 1.20
+++ AgentTicketOverviewPreview.dtl 3 Jul 2013 12:34:15 -0000 1.20.2.1
@@ -1,5 +1,5 @@
# --
# AgentTicketOverviewPreview.dtl - provides HTML Ticket Overview
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
# --
# $Id$
@@ -370,4 +370,10 @@
$('.MasterAction').bind('click', function (Event) {
var $MasterActionLink = $(this).find('.MasterActionLink');
+
+ // if the user is trying to select text from an article, MasterAction should not be executed
+ if (typeof Event.target === 'object' && $(Event.target).hasClass('ArticleBody')) {
+ return false;
+ }
+
// only act if the link was not clicked directly
if (Event.target !== $MasterActionLink.get(0)) {
---------------------------------------------------------------------
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