Ticket #1900 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

Equivalence check error is Ajax.js

Reported by: openlayers Owned by:
Priority: minor Milestone:
Component: Ajax Version: 2.7
Keywords: Cc:
State: Review

Description

An if statement is using = not ==, see patch

Attachments

minor_ajax_equivalence_syntax.patch Download (0.5 KB) - added by openlayers 4 years ago.

Change History

Changed 4 years ago by openlayers

Changed 4 years ago by elemoine

  • status changed from new to closed
  • resolution set to invalid

not a bug, the test is the same as:

var params = OpenLayers.Util.getParameterString(...):
if(params) {
}

As a side note, OpenLayers.Ajax is deprecated, consider using OpenLayers.Request, which replaces it.

Note: See TracTickets for help on using tickets.