Development

#1948 (Typo in Javascript Helper)

You must first sign up to be able to contribute.

Ticket #1948 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Typo in Javascript Helper

Reported by: Andrejs.Verza Assigned to: fabien
Priority: minor Milestone: 1.0.6
Component: helpers Version: 1.0.5
Keywords: Javascript, observe_field Cc:
Qualification:

Description

Problem Description:
I use observe_field function with url and complete parameters, but without update parameter. For the complete parameter, I use evaluate_remote_response function to do multiple updates to the page. Then I get PHP Notice about undefined index in Line 995 of Javascript helper file.

Therefore I suggest replace Line 995:

  if (!isset($options['with']) && $options['update'])

... with this one:

  if (!isset($options['with']) && isset($options['update']))

Change History

07/09/07 15:57:00 changed by fabien

  • milestone set to 1.0.6.

07/31/07 11:09:07 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

in r4754 and r4755