silverstripe-framework/admin/javascript/dist
Ingo Schommer 6e0ef669be payloadSchema support in createEndpointFetcher()
Required for REST URLs which require data to be populated on call.
For example, PUT admin/campaigns/set/:id/publish to publish a campaign.
At the time when createEndpointFetcher() is called, the ":id" parameter can not be resolved,
since the "data" argument is passed in once the returned function is evaluated (since the component using it).
Since the whole idea of createEndpointFetcher() is that components shouldn't know about the backend internals,
its not the right place to interpolate urls.

I'm sending through any payload data in addition to replacing URLs, to keep the API simple for the component.
Again, it shouldn't worry about the presence URL interpolation. The trade off here is that data will be submitted
both in the payload (in case of a POST, PUT or DELETE request), as well as (optionally) in the URL.
2016-04-12 22:03:43 +12:00
..
bundle-framework.js Updated build artifacts 2016-04-07 23:50:12 +12:00
bundle-leftandmain.js Fix non-standard url encoding in CMS search form 2016-04-05 22:30:50 +12:00
bundle-legacy.js Remove <IE10 specific workarounds 2016-04-11 14:50:00 +12:00
bundle-lib.js payloadSchema support in createEndpointFetcher() 2016-04-12 22:03:43 +12:00
CMSSecurity.js Merge remote-tracking branch 'origin/3.3' 2016-03-04 17:06:04 +13:00
config.js Updated build artifacts 2016-04-07 23:50:12 +12:00
leaktools.js Merge remote-tracking branch 'origin/3.3' 2016-03-04 17:06:04 +13:00
LeftAndMain.js Remove <IE10 specific workarounds 2016-04-11 14:50:00 +12:00
LeftAndMain.Ping.js Merge remote-tracking branch 'origin/3.3' 2016-03-04 17:06:04 +13:00
MemberDatetimeOptionsetField.js Merge remote-tracking branch 'origin/3.3' 2016-03-04 17:06:04 +13:00
MemberImportForm.js Merge remote-tracking branch 'origin/3.3' 2016-03-04 17:06:04 +13:00
ModelAdmin.js Merge remote-tracking branch 'origin/3.3' 2016-03-04 17:06:04 +13:00
reducer-register.js Updated build artifacts 2016-04-07 23:50:12 +12:00
router.js Implement client-side routing with Page.js 2016-04-01 13:45:14 +13:00
SecurityAdmin.js Merge remote-tracking branch 'origin/3.3' 2016-03-04 17:06:04 +13:00
silverstripe-backend.js payloadSchema support in createEndpointFetcher() 2016-04-12 22:03:43 +12:00
silverstripe-component.js Updated build artifacts 2016-04-07 23:50:12 +12:00
SilverStripeComponent.js Merge remote-tracking branch 'origin/3.3' 2016-03-04 17:06:04 +13:00
sspath.js BUG Fix error when using search bar 2016-04-05 17:10:21 +12:00
ssui.core.js Merge remote-tracking branch 'origin/3.3' 2016-03-04 17:06:04 +13:00