Skip to content

Commit

Permalink
Fix [ bug 1852 ] JS error when editing a customer order line
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosgdf committed Jun 13, 2015
1 parent babd480 commit 6514f41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -10,6 +10,7 @@ make a Dolibarr upgrade.

***** ChangeLog for 3.7.2 compared to 3.7.1 *****
FIX [ bug #2855 ] Wrong translation key in localtax report page
FIX [ bug #1852 ] JS error when editing a customer order line

***** ChangeLog for 3.7.1 compared to 3.7.* *****
FIX Bug in the new photo system
Expand Down
8 changes: 4 additions & 4 deletions htdocs/core/tpl/objectline_edit.tpl.php
Expand Up @@ -248,21 +248,21 @@
{
?>
$('#savelinebutton').click(function (e) {
return checkEditLine(e, "marginRate");
return checkEditLine(e, "np_marginRate");
});
$("input[name='np_marginRate']:first").blur(function(e) {
return checkEditLine(e, "marginRate");
return checkEditLine(e, "np_marginRate");
});
<?php
}
if (! empty($conf->global->DISPLAY_MARK_RATES))
{
?>
$('#savelinebutton').click(function (e) {
return checkEditLine(e, "markRate");
return checkEditLine(e, "np_markRate");
});
$("input[name='np_markRate']:first").blur(function(e) {
return checkEditLine(e, "markRate");
return checkEditLine(e, "np_markRate");
});
<?php
}
Expand Down

0 comments on commit 6514f41

Please sign in to comment.