Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../js
File: media-models.js
*/
[500] Fix | Delete
unmirror: function() {
[501] Fix | Delete
if ( ! this.mirroring ) {
[502] Fix | Delete
return;
[503] Fix | Delete
}
[504] Fix | Delete
[505] Fix | Delete
this.unobserve( this.mirroring );
[506] Fix | Delete
delete this.mirroring;
[507] Fix | Delete
},
[508] Fix | Delete
/**
[509] Fix | Delete
* Retrieve more attachments from the server for the collection.
[510] Fix | Delete
*
[511] Fix | Delete
* Only works if the collection is mirroring a Query Attachments collection,
[512] Fix | Delete
* and forwards to its `more` method. This collection class doesn't have
[513] Fix | Delete
* server persistence by itself.
[514] Fix | Delete
*
[515] Fix | Delete
* @param {Object} options
[516] Fix | Delete
* @return {Promise}
[517] Fix | Delete
*/
[518] Fix | Delete
more: function( options ) {
[519] Fix | Delete
var deferred = jQuery.Deferred(),
[520] Fix | Delete
mirroring = this.mirroring,
[521] Fix | Delete
attachments = this;
[522] Fix | Delete
[523] Fix | Delete
if ( ! mirroring || ! mirroring.more ) {
[524] Fix | Delete
return deferred.resolveWith( this ).promise();
[525] Fix | Delete
}
[526] Fix | Delete
/*
[527] Fix | Delete
* If we're mirroring another collection, forward `more` to
[528] Fix | Delete
* the mirrored collection. Account for a race condition by
[529] Fix | Delete
* checking if we're still mirroring that collection when
[530] Fix | Delete
* the request resolves.
[531] Fix | Delete
*/
[532] Fix | Delete
mirroring.more( options ).done( function() {
[533] Fix | Delete
if ( this === attachments.mirroring ) {
[534] Fix | Delete
deferred.resolveWith( this );
[535] Fix | Delete
}
[536] Fix | Delete
[537] Fix | Delete
// Used for the search results.
[538] Fix | Delete
attachments.trigger( 'attachments:received', this );
[539] Fix | Delete
});
[540] Fix | Delete
[541] Fix | Delete
return deferred.promise();
[542] Fix | Delete
},
[543] Fix | Delete
/**
[544] Fix | Delete
* Whether there are more attachments that haven't been sync'd from the server
[545] Fix | Delete
* that match the collection's query.
[546] Fix | Delete
*
[547] Fix | Delete
* Only works if the collection is mirroring a Query Attachments collection,
[548] Fix | Delete
* and forwards to its `hasMore` method. This collection class doesn't have
[549] Fix | Delete
* server persistence by itself.
[550] Fix | Delete
*
[551] Fix | Delete
* @return {boolean}
[552] Fix | Delete
*/
[553] Fix | Delete
hasMore: function() {
[554] Fix | Delete
return this.mirroring ? this.mirroring.hasMore() : false;
[555] Fix | Delete
},
[556] Fix | Delete
/**
[557] Fix | Delete
* Holds the total number of attachments.
[558] Fix | Delete
*
[559] Fix | Delete
* @since 5.8.0
[560] Fix | Delete
*/
[561] Fix | Delete
totalAttachments: 0,
[562] Fix | Delete
[563] Fix | Delete
/**
[564] Fix | Delete
* Gets the total number of attachments.
[565] Fix | Delete
*
[566] Fix | Delete
* @since 5.8.0
[567] Fix | Delete
*
[568] Fix | Delete
* @return {number} The total number of attachments.
[569] Fix | Delete
*/
[570] Fix | Delete
getTotalAttachments: function() {
[571] Fix | Delete
return this.mirroring ? this.mirroring.totalAttachments : 0;
[572] Fix | Delete
},
[573] Fix | Delete
[574] Fix | Delete
/**
[575] Fix | Delete
* A custom Ajax-response parser.
[576] Fix | Delete
*
[577] Fix | Delete
* See trac ticket #24753.
[578] Fix | Delete
*
[579] Fix | Delete
* Called automatically by Backbone whenever a collection's models are returned
[580] Fix | Delete
* by the server, in fetch. The default implementation is a no-op, simply
[581] Fix | Delete
* passing through the JSON response. We override this to add attributes to
[582] Fix | Delete
* the collection items.
[583] Fix | Delete
*
[584] Fix | Delete
* @param {Object|Array} response The raw response Object/Array.
[585] Fix | Delete
* @param {Object} xhr
[586] Fix | Delete
* @return {Array} The array of model attributes to be added to the collection
[587] Fix | Delete
*/
[588] Fix | Delete
parse: function( response, xhr ) {
[589] Fix | Delete
if ( ! _.isArray( response ) ) {
[590] Fix | Delete
response = [response];
[591] Fix | Delete
}
[592] Fix | Delete
return _.map( response, function( attrs ) {
[593] Fix | Delete
var id, attachment, newAttributes;
[594] Fix | Delete
[595] Fix | Delete
if ( attrs instanceof Backbone.Model ) {
[596] Fix | Delete
id = attrs.get( 'id' );
[597] Fix | Delete
attrs = attrs.attributes;
[598] Fix | Delete
} else {
[599] Fix | Delete
id = attrs.id;
[600] Fix | Delete
}
[601] Fix | Delete
[602] Fix | Delete
attachment = wp.media.model.Attachment.get( id );
[603] Fix | Delete
newAttributes = attachment.parse( attrs, xhr );
[604] Fix | Delete
[605] Fix | Delete
if ( ! _.isEqual( attachment.attributes, newAttributes ) ) {
[606] Fix | Delete
attachment.set( newAttributes );
[607] Fix | Delete
}
[608] Fix | Delete
[609] Fix | Delete
return attachment;
[610] Fix | Delete
});
[611] Fix | Delete
},
[612] Fix | Delete
[613] Fix | Delete
/**
[614] Fix | Delete
* If the collection is a query, create and mirror an Attachments Query collection.
[615] Fix | Delete
*
[616] Fix | Delete
* @access private
[617] Fix | Delete
* @param {Boolean} refresh Deprecated, refresh parameter no longer used.
[618] Fix | Delete
*/
[619] Fix | Delete
_requery: function() {
[620] Fix | Delete
var props;
[621] Fix | Delete
if ( this.props.get('query') ) {
[622] Fix | Delete
props = this.props.toJSON();
[623] Fix | Delete
this.mirror( wp.media.model.Query.get( props ) );
[624] Fix | Delete
}
[625] Fix | Delete
},
[626] Fix | Delete
/**
[627] Fix | Delete
* If this collection is sorted by `menuOrder`, recalculates and saves
[628] Fix | Delete
* the menu order to the database.
[629] Fix | Delete
*
[630] Fix | Delete
* @return {undefined|Promise}
[631] Fix | Delete
*/
[632] Fix | Delete
saveMenuOrder: function() {
[633] Fix | Delete
if ( 'menuOrder' !== this.props.get('orderby') ) {
[634] Fix | Delete
return;
[635] Fix | Delete
}
[636] Fix | Delete
[637] Fix | Delete
/*
[638] Fix | Delete
* Removes any uploading attachments, updates each attachment's
[639] Fix | Delete
* menu order, and returns an object with an { id: menuOrder }
[640] Fix | Delete
* mapping to pass to the request.
[641] Fix | Delete
*/
[642] Fix | Delete
var attachments = this.chain().filter( function( attachment ) {
[643] Fix | Delete
return ! _.isUndefined( attachment.id );
[644] Fix | Delete
}).map( function( attachment, index ) {
[645] Fix | Delete
// Indices start at 1.
[646] Fix | Delete
index = index + 1;
[647] Fix | Delete
attachment.set( 'menuOrder', index );
[648] Fix | Delete
return [ attachment.id, index ];
[649] Fix | Delete
}).object().value();
[650] Fix | Delete
[651] Fix | Delete
if ( _.isEmpty( attachments ) ) {
[652] Fix | Delete
return;
[653] Fix | Delete
}
[654] Fix | Delete
[655] Fix | Delete
return wp.media.post( 'save-attachment-order', {
[656] Fix | Delete
nonce: wp.media.model.settings.post.nonce,
[657] Fix | Delete
post_id: wp.media.model.settings.post.id,
[658] Fix | Delete
attachments: attachments
[659] Fix | Delete
});
[660] Fix | Delete
}
[661] Fix | Delete
},/** @lends wp.media.model.Attachments */{
[662] Fix | Delete
/**
[663] Fix | Delete
* A function to compare two attachment models in an attachments collection.
[664] Fix | Delete
*
[665] Fix | Delete
* Used as the default comparator for instances of wp.media.model.Attachments
[666] Fix | Delete
* and its subclasses. @see wp.media.model.Attachments._changeOrderby().
[667] Fix | Delete
*
[668] Fix | Delete
* @param {Backbone.Model} a
[669] Fix | Delete
* @param {Backbone.Model} b
[670] Fix | Delete
* @param {Object} options
[671] Fix | Delete
* @return {number} -1 if the first model should come before the second,
[672] Fix | Delete
* 0 if they are of the same rank and
[673] Fix | Delete
* 1 if the first model should come after.
[674] Fix | Delete
*/
[675] Fix | Delete
comparator: function( a, b, options ) {
[676] Fix | Delete
var key = this.props.get('orderby'),
[677] Fix | Delete
order = this.props.get('order') || 'DESC',
[678] Fix | Delete
ac = a.cid,
[679] Fix | Delete
bc = b.cid;
[680] Fix | Delete
[681] Fix | Delete
a = a.get( key );
[682] Fix | Delete
b = b.get( key );
[683] Fix | Delete
[684] Fix | Delete
if ( 'date' === key || 'modified' === key ) {
[685] Fix | Delete
a = a || new Date();
[686] Fix | Delete
b = b || new Date();
[687] Fix | Delete
}
[688] Fix | Delete
[689] Fix | Delete
// If `options.ties` is set, don't enforce the `cid` tiebreaker.
[690] Fix | Delete
if ( options && options.ties ) {
[691] Fix | Delete
ac = bc = null;
[692] Fix | Delete
}
[693] Fix | Delete
[694] Fix | Delete
return ( 'DESC' === order ) ? wp.media.compare( a, b, ac, bc ) : wp.media.compare( b, a, bc, ac );
[695] Fix | Delete
},
[696] Fix | Delete
/** @namespace wp.media.model.Attachments.filters */
[697] Fix | Delete
filters: {
[698] Fix | Delete
/**
[699] Fix | Delete
* @static
[700] Fix | Delete
* Note that this client-side searching is *not* equivalent
[701] Fix | Delete
* to our server-side searching.
[702] Fix | Delete
*
[703] Fix | Delete
* @param {wp.media.model.Attachment} attachment
[704] Fix | Delete
*
[705] Fix | Delete
* @this wp.media.model.Attachments
[706] Fix | Delete
*
[707] Fix | Delete
* @return {Boolean}
[708] Fix | Delete
*/
[709] Fix | Delete
search: function( attachment ) {
[710] Fix | Delete
if ( ! this.props.get('search') ) {
[711] Fix | Delete
return true;
[712] Fix | Delete
}
[713] Fix | Delete
[714] Fix | Delete
return _.any(['title','filename','description','caption','name'], function( key ) {
[715] Fix | Delete
var value = attachment.get( key );
[716] Fix | Delete
return value && -1 !== value.search( this.props.get('search') );
[717] Fix | Delete
}, this );
[718] Fix | Delete
},
[719] Fix | Delete
/**
[720] Fix | Delete
* @static
[721] Fix | Delete
* @param {wp.media.model.Attachment} attachment
[722] Fix | Delete
*
[723] Fix | Delete
* @this wp.media.model.Attachments
[724] Fix | Delete
*
[725] Fix | Delete
* @return {boolean}
[726] Fix | Delete
*/
[727] Fix | Delete
type: function( attachment ) {
[728] Fix | Delete
var type = this.props.get('type'), atts = attachment.toJSON(), mime, found;
[729] Fix | Delete
[730] Fix | Delete
if ( ! type || ( _.isArray( type ) && ! type.length ) ) {
[731] Fix | Delete
return true;
[732] Fix | Delete
}
[733] Fix | Delete
[734] Fix | Delete
mime = atts.mime || ( atts.file && atts.file.type ) || '';
[735] Fix | Delete
[736] Fix | Delete
if ( _.isArray( type ) ) {
[737] Fix | Delete
found = _.find( type, function (t) {
[738] Fix | Delete
return -1 !== mime.indexOf( t );
[739] Fix | Delete
} );
[740] Fix | Delete
} else {
[741] Fix | Delete
found = -1 !== mime.indexOf( type );
[742] Fix | Delete
}
[743] Fix | Delete
[744] Fix | Delete
return found;
[745] Fix | Delete
},
[746] Fix | Delete
/**
[747] Fix | Delete
* @static
[748] Fix | Delete
* @param {wp.media.model.Attachment} attachment
[749] Fix | Delete
*
[750] Fix | Delete
* @this wp.media.model.Attachments
[751] Fix | Delete
*
[752] Fix | Delete
* @return {boolean}
[753] Fix | Delete
*/
[754] Fix | Delete
uploadedTo: function( attachment ) {
[755] Fix | Delete
var uploadedTo = this.props.get('uploadedTo');
[756] Fix | Delete
if ( _.isUndefined( uploadedTo ) ) {
[757] Fix | Delete
return true;
[758] Fix | Delete
}
[759] Fix | Delete
[760] Fix | Delete
return uploadedTo === attachment.get('uploadedTo');
[761] Fix | Delete
},
[762] Fix | Delete
/**
[763] Fix | Delete
* @static
[764] Fix | Delete
* @param {wp.media.model.Attachment} attachment
[765] Fix | Delete
*
[766] Fix | Delete
* @this wp.media.model.Attachments
[767] Fix | Delete
*
[768] Fix | Delete
* @return {boolean}
[769] Fix | Delete
*/
[770] Fix | Delete
status: function( attachment ) {
[771] Fix | Delete
var status = this.props.get('status');
[772] Fix | Delete
if ( _.isUndefined( status ) ) {
[773] Fix | Delete
return true;
[774] Fix | Delete
}
[775] Fix | Delete
[776] Fix | Delete
return status === attachment.get('status');
[777] Fix | Delete
}
[778] Fix | Delete
}
[779] Fix | Delete
});
[780] Fix | Delete
[781] Fix | Delete
module.exports = Attachments;
[782] Fix | Delete
[783] Fix | Delete
[784] Fix | Delete
/***/ }),
[785] Fix | Delete
[786] Fix | Delete
/***/ 9104:
[787] Fix | Delete
/***/ ((module) => {
[788] Fix | Delete
[789] Fix | Delete
/**
[790] Fix | Delete
* wp.media.model.PostImage
[791] Fix | Delete
*
[792] Fix | Delete
* An instance of an image that's been embedded into a post.
[793] Fix | Delete
*
[794] Fix | Delete
* Used in the embedded image attachment display settings modal - @see wp.media.view.MediaFrame.ImageDetails.
[795] Fix | Delete
*
[796] Fix | Delete
* @memberOf wp.media.model
[797] Fix | Delete
*
[798] Fix | Delete
* @class
[799] Fix | Delete
* @augments Backbone.Model
[800] Fix | Delete
*
[801] Fix | Delete
* @param {int} [attributes] Initial model attributes.
[802] Fix | Delete
* @param {int} [attributes.attachment_id] ID of the attachment.
[803] Fix | Delete
**/
[804] Fix | Delete
var PostImage = Backbone.Model.extend(/** @lends wp.media.model.PostImage.prototype */{
[805] Fix | Delete
[806] Fix | Delete
initialize: function( attributes ) {
[807] Fix | Delete
var Attachment = wp.media.model.Attachment;
[808] Fix | Delete
this.attachment = false;
[809] Fix | Delete
[810] Fix | Delete
if ( attributes.attachment_id ) {
[811] Fix | Delete
this.attachment = Attachment.get( attributes.attachment_id );
[812] Fix | Delete
if ( this.attachment.get( 'url' ) ) {
[813] Fix | Delete
this.dfd = jQuery.Deferred();
[814] Fix | Delete
this.dfd.resolve();
[815] Fix | Delete
} else {
[816] Fix | Delete
this.dfd = this.attachment.fetch();
[817] Fix | Delete
}
[818] Fix | Delete
this.bindAttachmentListeners();
[819] Fix | Delete
}
[820] Fix | Delete
[821] Fix | Delete
// Keep URL in sync with changes to the type of link.
[822] Fix | Delete
this.on( 'change:link', this.updateLinkUrl, this );
[823] Fix | Delete
this.on( 'change:size', this.updateSize, this );
[824] Fix | Delete
[825] Fix | Delete
this.setLinkTypeFromUrl();
[826] Fix | Delete
this.setAspectRatio();
[827] Fix | Delete
[828] Fix | Delete
this.set( 'originalUrl', attributes.url );
[829] Fix | Delete
},
[830] Fix | Delete
[831] Fix | Delete
bindAttachmentListeners: function() {
[832] Fix | Delete
this.listenTo( this.attachment, 'sync', this.setLinkTypeFromUrl );
[833] Fix | Delete
this.listenTo( this.attachment, 'sync', this.setAspectRatio );
[834] Fix | Delete
this.listenTo( this.attachment, 'change', this.updateSize );
[835] Fix | Delete
},
[836] Fix | Delete
[837] Fix | Delete
changeAttachment: function( attachment, props ) {
[838] Fix | Delete
this.stopListening( this.attachment );
[839] Fix | Delete
this.attachment = attachment;
[840] Fix | Delete
this.bindAttachmentListeners();
[841] Fix | Delete
[842] Fix | Delete
this.set( 'attachment_id', this.attachment.get( 'id' ) );
[843] Fix | Delete
this.set( 'caption', this.attachment.get( 'caption' ) );
[844] Fix | Delete
this.set( 'alt', this.attachment.get( 'alt' ) );
[845] Fix | Delete
this.set( 'size', props.get( 'size' ) );
[846] Fix | Delete
this.set( 'align', props.get( 'align' ) );
[847] Fix | Delete
this.set( 'link', props.get( 'link' ) );
[848] Fix | Delete
this.updateLinkUrl();
[849] Fix | Delete
this.updateSize();
[850] Fix | Delete
},
[851] Fix | Delete
[852] Fix | Delete
setLinkTypeFromUrl: function() {
[853] Fix | Delete
var linkUrl = this.get( 'linkUrl' ),
[854] Fix | Delete
type;
[855] Fix | Delete
[856] Fix | Delete
if ( ! linkUrl ) {
[857] Fix | Delete
this.set( 'link', 'none' );
[858] Fix | Delete
return;
[859] Fix | Delete
}
[860] Fix | Delete
[861] Fix | Delete
// Default to custom if there is a linkUrl.
[862] Fix | Delete
type = 'custom';
[863] Fix | Delete
[864] Fix | Delete
if ( this.attachment ) {
[865] Fix | Delete
if ( this.attachment.get( 'url' ) === linkUrl ) {
[866] Fix | Delete
type = 'file';
[867] Fix | Delete
} else if ( this.attachment.get( 'link' ) === linkUrl ) {
[868] Fix | Delete
type = 'post';
[869] Fix | Delete
}
[870] Fix | Delete
} else {
[871] Fix | Delete
if ( this.get( 'url' ) === linkUrl ) {
[872] Fix | Delete
type = 'file';
[873] Fix | Delete
}
[874] Fix | Delete
}
[875] Fix | Delete
[876] Fix | Delete
this.set( 'link', type );
[877] Fix | Delete
},
[878] Fix | Delete
[879] Fix | Delete
updateLinkUrl: function() {
[880] Fix | Delete
var link = this.get( 'link' ),
[881] Fix | Delete
url;
[882] Fix | Delete
[883] Fix | Delete
switch( link ) {
[884] Fix | Delete
case 'file':
[885] Fix | Delete
if ( this.attachment ) {
[886] Fix | Delete
url = this.attachment.get( 'url' );
[887] Fix | Delete
} else {
[888] Fix | Delete
url = this.get( 'url' );
[889] Fix | Delete
}
[890] Fix | Delete
this.set( 'linkUrl', url );
[891] Fix | Delete
break;
[892] Fix | Delete
case 'post':
[893] Fix | Delete
this.set( 'linkUrl', this.attachment.get( 'link' ) );
[894] Fix | Delete
break;
[895] Fix | Delete
case 'none':
[896] Fix | Delete
this.set( 'linkUrl', '' );
[897] Fix | Delete
break;
[898] Fix | Delete
}
[899] Fix | Delete
},
[900] Fix | Delete
[901] Fix | Delete
updateSize: function() {
[902] Fix | Delete
var size;
[903] Fix | Delete
[904] Fix | Delete
if ( ! this.attachment ) {
[905] Fix | Delete
return;
[906] Fix | Delete
}
[907] Fix | Delete
[908] Fix | Delete
if ( this.get( 'size' ) === 'custom' ) {
[909] Fix | Delete
this.set( 'width', this.get( 'customWidth' ) );
[910] Fix | Delete
this.set( 'height', this.get( 'customHeight' ) );
[911] Fix | Delete
this.set( 'url', this.get( 'originalUrl' ) );
[912] Fix | Delete
return;
[913] Fix | Delete
}
[914] Fix | Delete
[915] Fix | Delete
size = this.attachment.get( 'sizes' )[ this.get( 'size' ) ];
[916] Fix | Delete
[917] Fix | Delete
if ( ! size ) {
[918] Fix | Delete
return;
[919] Fix | Delete
}
[920] Fix | Delete
[921] Fix | Delete
this.set( 'url', size.url );
[922] Fix | Delete
this.set( 'width', size.width );
[923] Fix | Delete
this.set( 'height', size.height );
[924] Fix | Delete
},
[925] Fix | Delete
[926] Fix | Delete
setAspectRatio: function() {
[927] Fix | Delete
var full;
[928] Fix | Delete
[929] Fix | Delete
if ( this.attachment && this.attachment.get( 'sizes' ) ) {
[930] Fix | Delete
full = this.attachment.get( 'sizes' ).full;
[931] Fix | Delete
[932] Fix | Delete
if ( full ) {
[933] Fix | Delete
this.set( 'aspectRatio', full.width / full.height );
[934] Fix | Delete
return;
[935] Fix | Delete
}
[936] Fix | Delete
}
[937] Fix | Delete
[938] Fix | Delete
this.set( 'aspectRatio', this.get( 'customWidth' ) / this.get( 'customHeight' ) );
[939] Fix | Delete
}
[940] Fix | Delete
});
[941] Fix | Delete
[942] Fix | Delete
module.exports = PostImage;
[943] Fix | Delete
[944] Fix | Delete
[945] Fix | Delete
/***/ }),
[946] Fix | Delete
[947] Fix | Delete
/***/ 1288:
[948] Fix | Delete
/***/ ((module) => {
[949] Fix | Delete
[950] Fix | Delete
var Attachments = wp.media.model.Attachments,
[951] Fix | Delete
Query;
[952] Fix | Delete
[953] Fix | Delete
/**
[954] Fix | Delete
* wp.media.model.Query
[955] Fix | Delete
*
[956] Fix | Delete
* A collection of attachments that match the supplied query arguments.
[957] Fix | Delete
*
[958] Fix | Delete
* Note: Do NOT change this.args after the query has been initialized.
[959] Fix | Delete
* Things will break.
[960] Fix | Delete
*
[961] Fix | Delete
* @memberOf wp.media.model
[962] Fix | Delete
*
[963] Fix | Delete
* @class
[964] Fix | Delete
* @augments wp.media.model.Attachments
[965] Fix | Delete
* @augments Backbone.Collection
[966] Fix | Delete
*
[967] Fix | Delete
* @param {array} [models] Models to initialize with the collection.
[968] Fix | Delete
* @param {object} [options] Options hash.
[969] Fix | Delete
* @param {object} [options.args] Attachments query arguments.
[970] Fix | Delete
* @param {object} [options.args.posts_per_page]
[971] Fix | Delete
*/
[972] Fix | Delete
Query = Attachments.extend(/** @lends wp.media.model.Query.prototype */{
[973] Fix | Delete
/**
[974] Fix | Delete
* @param {Array} [models=[]] Array of initial models to populate the collection.
[975] Fix | Delete
* @param {Object} [options={}]
[976] Fix | Delete
*/
[977] Fix | Delete
initialize: function( models, options ) {
[978] Fix | Delete
var allowed;
[979] Fix | Delete
[980] Fix | Delete
options = options || {};
[981] Fix | Delete
Attachments.prototype.initialize.apply( this, arguments );
[982] Fix | Delete
[983] Fix | Delete
this.args = options.args;
[984] Fix | Delete
this._hasMore = true;
[985] Fix | Delete
this.created = new Date();
[986] Fix | Delete
[987] Fix | Delete
this.filters.order = function( attachment ) {
[988] Fix | Delete
var orderby = this.props.get('orderby'),
[989] Fix | Delete
order = this.props.get('order');
[990] Fix | Delete
[991] Fix | Delete
if ( ! this.comparator ) {
[992] Fix | Delete
return true;
[993] Fix | Delete
}
[994] Fix | Delete
[995] Fix | Delete
/*
[996] Fix | Delete
* We want any items that can be placed before the last
[997] Fix | Delete
* item in the set. If we add any items after the last
[998] Fix | Delete
* item, then we can't guarantee the set is complete.
[999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function