AjaxSource still using enyo.Model.isNew

Description

AjaxSource determines its HTTP method based on the status of model. Previously, this was using enyo.Model.isNew but that was deprecated by BHV-10085. Instead, it should use the status.

Something like:

opts.method = (model.status & enyo.States.NEW) ? 'POST' : 'PUT'

Environment

Any

Status

Assignee

Jason Robitaille

Reporter

Ryan Duffy

Labels

None

External issue ID

None

Tango Test Run Elements

None

Old Issue Key

None

Components

Affects versions

2.6.0-pre.4

Priority

None
Configure