Bug Tracker

Opened 9 years ago

Closed 9 years ago

#1788 closed feature (fixed)

$.ajax is allways evaluating scripts

Reported by: fourat Owned by:
Priority: minor Milestone: 1.2.2
Component: ajax Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:

Description

$.ajax call is allways evaluating returned data from the server
There's no dataType to determine if it should evaluate or not the data.
A dataType='plain' will satisfy the bug.
Detected in v1.2.1

Change History (2)

comment:1 Changed 9 years ago by Bradley

  • Component changed from core to ajax
  • Priority changed from blocker to minor
  • Type changed from bug to feature

comment:2 Changed 9 years ago by Bradley

  • Resolution set to fixed
  • Status changed from new to closed

This is a problem with the documentation and not a bug. Use the dataType "text".

The ajax documentation for dataType has been updated to reflect this: http://docs.jquery.com/Ajax/jQuery.ajax#toptions

Note: See TracTickets for help on using tickets.