Sha256: e2a3934a607660c12158bd4daf3f51e4035f60f4126947ba73f74cf3382f3298
Contents?: true
Size: 405 Bytes
Versions: 8
Compression:
Stored size: 405 Bytes
Contents
pageflow.orderedCollection = { saveOrder: function() { var parentModel = this.parentModel; Backbone.sync('patch', parentModel, { url: this.url() + '/order', attrs: {ids: this.pluck('id')}, success: function(response) { parentModel.trigger('sync', parentModel, response, {}); parentModel.trigger('sync:order', parentModel, response, {}); } }); } };
Version data entries
8 entries across 8 versions & 1 rubygems