Browse Source

Legacy portal: Since iTop 2.3, plain text caselog entries can no longer be toggled due to a bad jQuery selector. Only HTML entries were working.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4541 a333f486-631f-4898-b8df-5754b55c2be0
glajarige 8 years ago
parent
commit
eed3aa9d14
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/portalwebpage.class.inc.php

+ 1 - 1
application/portalwebpage.class.inc.php

@@ -222,7 +222,7 @@ try
 	PrepareWidgets();
 	PrepareWidgets();
 
 
 	//$('.resizable').resizable(); // Make resizable everything that claims to be resizable !
 	//$('.resizable').resizable(); // Make resizable everything that claims to be resizable !
-	$('.caselog_header').click( function () { $(this).toggleClass('open').next('.caselog_entry_html').toggle(); });
+	$('.caselog_header').click( function () { $(this).toggleClass('open').next('.caselog_entry,.caselog_entry_html').toggle(); });
 			
 			
 	$(document).ajaxSend(function(event, jqxhr, options) {
 	$(document).ajaxSend(function(event, jqxhr, options) {
 		jqxhr.setRequestHeader('X-Combodo-Ajax', 'true');
 		jqxhr.setRequestHeader('X-Combodo-Ajax', 'true');