[otrs-cvs] FAQ/Kernel/Output/HTML/Standard PublicFAQExplorer.dtl, 1.13, 1.14 CustomerFAQExplorer.dtl, 1.20, 1.21
"CVS commits notifications of OTRS.org" <[email protected]> Mon, 20 May 2013 15:09:31 +0000
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/FAQ/Kernel/Output/HTML/Standard
In directory lancelot:/tmp/cvs-serv2942/Kernel/Output/HTML/Standard
Modified Files:
PublicFAQExplorer.dtl CustomerFAQExplorer.dtl
Log Message:
Fixed bug#9329 - FAQ sort in customer and public front-end doesn't work correctly.
Author: cr
Index: PublicFAQExplorer.dtl
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Output/HTML/Standard/PublicFAQExplorer.dtl,v
retrieving revision 1.13
retrieving revision 1.14
diff -2 -u -d -r1.13 -r1.14
--- PublicFAQExplorer.dtl 20 Nov 2012 13:08:26 -0000 1.13
+++ PublicFAQExplorer.dtl 20 May 2013 15:09:26 -0000 1.14
@@ -1,5 +1,5 @@
# --
# PublicFAQExplorer.dtl.dtl - provides HTML for PublicFAQExplorer.pm
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
# --
# $Id$
@@ -220,5 +220,10 @@
<!-- dtl:js_on_document_complete -->
<script type="text/javascript">
- Core.Customer.ClickableRow();
+// make whole FAQ Item row clickable, but not the headers, can't use Core.Customer.ClickableRow()
+// since it uses "table tr" as selector, see bug#9329
+$("tbody tr").click(function(){
+ window.location.href = $("a", this).attr("href");
+ return false;
+});
</script>
<!-- dtl:js_on_document_complete -->
Author: cr
Index: CustomerFAQExplorer.dtl
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Output/HTML/Standard/CustomerFAQExplorer.dtl,v
retrieving revision 1.20
retrieving revision 1.21
diff -2 -u -d -r1.20 -r1.21
--- CustomerFAQExplorer.dtl 20 Nov 2012 13:08:05 -0000 1.20
+++ CustomerFAQExplorer.dtl 20 May 2013 15:09:26 -0000 1.21
@@ -1,5 +1,5 @@
# --
# CustomerFAQExplorer.dtl - provides HTML for CustomerFAQExplorer.pm
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
# --
# $Id$
@@ -223,5 +223,10 @@
<!-- dtl:js_on_document_complete -->
<script type="text/javascript">
- Core.Customer.ClickableRow();
+// make whole FAQ Item row clickable, but not the headers, can't use Core.Customer.ClickableRow()
+// since it uses "table tr" as selector, see bug#9329
+$("tbody tr").click(function(){
+ window.location.href = $("a", this).attr("href");
+ return false;
+});
</script>
<!-- dtl:js_on_document_complete -->
---------------------------------------------------------------------
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