mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: [ bug #1825 ] External agenda: hide/show checkbox doesn't work
This commit is contained in:
parent
6189db677d
commit
0a81fe667f
|
|
@ -21,6 +21,7 @@ English Dolibarr ChangeLog
|
|||
- Fix: [ bug #1812 ] SQL Error message while sending emailing with PostgreSQL datatabase
|
||||
- Fix: [ bug #1819 ] SQL error when searching for an invoice payment
|
||||
- Fix: [ bug #1827 ] Tax reports gives incorrect amounts when using external modules that create lines with special codes
|
||||
- Fix: [ bug #1825 ] External agenda: hide/show checkbox doesn't work
|
||||
|
||||
***** ChangeLog for 3.6.2 compared to 3.6.1 *****
|
||||
- Fix: fix ErrorBadValueForParamNotAString error message in price customer multiprice.
|
||||
|
|
|
|||
|
|
@ -144,12 +144,19 @@ function print_actions_filter($form, $canedit, $status, $year, $month, $day, $sh
|
|||
foreach ($showextcals as $val)
|
||||
{
|
||||
$htmlname = dol_string_nospecial($val['name']);
|
||||
|
||||
print '<tr><td>';
|
||||
print '<script type="text/javascript">' . "\n";
|
||||
|
||||
//jQuery Learning "How do I select an element by an ID that has characters used in CSS notation?"
|
||||
//http://learn.jquery.com/using-jquery-core/faq/how-do-i-select-an-element-by-an-id-that-has-characters-used-in-css-notation/
|
||||
print ' function jq( myid ) {
|
||||
return myid.replace( /(:|\.|\[|\]|,|@)/g, "\\\\$1" );
|
||||
}';
|
||||
|
||||
print 'jQuery(document).ready(function () {' . "\n";
|
||||
print ' jQuery("#check_' . $htmlname . '").click(function() {';
|
||||
print ' /* alert("'.$htmlname.'"); */';
|
||||
print ' jQuery(".family_' . $htmlname . '").toggle();';
|
||||
print ' jQuery("#check_" + jq("'.$htmlname.'")).click(function() {';
|
||||
print ' jQuery(".family_" + jq("'.$htmlname.'")).toggle();';
|
||||
print ' });' . "\n";
|
||||
print '});' . "\n";
|
||||
print '</script>' . "\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user