Changeset 32228
- Timestamp:
- 04/20/2015 07:48:08 PM (10 years ago)
- Location:
- trunk/src/wp-includes/js
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-views.js
r32125 r32228 125 125 * @param {boolean} [attributes.searchable=false] Whether the library is searchable. 126 126 * @param {boolean} [attributes.sortable=true] Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection. 127 * @param {boolean} [attributes.date=true] Whether to show the date filter in the browser's toolbar. 127 128 * @param {boolean} [attributes.describe=true] Whether to offer UI to describe the attachments - e.g. captioning images in a gallery. 128 129 * @param {boolean} [attributes.dragInfo=true] Whether to show instructional text about the attachments being sortable. … … 148 149 multiple: false, 149 150 sortable: true, 151 date: false, 150 152 searchable: false, 151 153 content: 'browse', … … 836 838 * @param {boolean} [attributes.searchable=false] Whether the library is searchable. 837 839 * @param {boolean} [attributes.sortable=true] Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection. 840 * @param {boolean} [attributes.date=true] Whether to show the date filter in the browser's toolbar. 838 841 * @param {string|false} [attributes.content=browse] Initial mode for the content region. 839 842 * @param {string|false} [attributes.toolbar=image-details] Initial mode for the toolbar region. … … 860 863 searchable: false, 861 864 sortable: true, 865 date: false, 862 866 display: false, 863 867 content: 'browse', … … 3681 3685 * @augments Backbone.View 3682 3686 * 3683 * @param {object} options3684 * @param { object}[options.filters=false] Which filters to show in the browser's toolbar.3685 * Accepts 'uploaded' and 'all'.3686 * @param { object}[options.search=true] Whether to show the search interface in the3687 * browser's toolbar.3688 * @param { object}[options.date=true] Whether to show the date filter in the3689 * browser's toolbar.3690 * @param { object}[options.display=false] Whether to show the attachments display settings3691 * view in the sidebar.3692 * @param {bool |string} [options.sidebar=true] Whether to create a sidebar for the browser.3693 * Accepts true, false, and 'errors'.3687 * @param {object} [options] The options hash passed to the view. 3688 * @param {boolean|string} [options.filters=false] Which filters to show in the browser's toolbar. 3689 * Accepts 'uploaded' and 'all'. 3690 * @param {boolean} [options.search=true] Whether to show the search interface in the 3691 * browser's toolbar. 3692 * @param {boolean} [options.date=true] Whether to show the date filter in the 3693 * browser's toolbar. 3694 * @param {boolean} [options.display=false] Whether to show the attachments display settings 3695 * view in the sidebar. 3696 * @param {boolean|string} [options.sidebar=true] Whether to create a sidebar for the browser. 3697 * Accepts true, false, and 'errors'. 3694 3698 */ 3695 3699 var View = wp.media.View, … … 5957 5961 search: state.get('searchable'), 5958 5962 filters: state.get('filterable'), 5963 date: state.get('date'), 5959 5964 display: state.has('display') ? state.get('display') : state.get('displaySettings'), 5960 5965 dragInfo: state.get('dragInfo'), -
trunk/src/wp-includes/js/media/controllers/collection-edit.js
r31935 r32228 21 21 * @param {boolean} [attributes.searchable=false] Whether the library is searchable. 22 22 * @param {boolean} [attributes.sortable=true] Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection. 23 * @param {boolean} [attributes.date=true] Whether to show the date filter in the browser's toolbar. 23 24 * @param {boolean} [attributes.describe=true] Whether to offer UI to describe the attachments - e.g. captioning images in a gallery. 24 25 * @param {boolean} [attributes.dragInfo=true] Whether to show instructional text about the attachments being sortable. … … 44 45 multiple: false, 45 46 sortable: true, 47 date: false, 46 48 searchable: false, 47 49 content: 'browse', -
trunk/src/wp-includes/js/media/controllers/gallery-edit.js
r31935 r32228 19 19 * @param {boolean} [attributes.searchable=false] Whether the library is searchable. 20 20 * @param {boolean} [attributes.sortable=true] Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection. 21 * @param {boolean} [attributes.date=true] Whether to show the date filter in the browser's toolbar. 21 22 * @param {string|false} [attributes.content=browse] Initial mode for the content region. 22 23 * @param {string|false} [attributes.toolbar=image-details] Initial mode for the toolbar region. … … 43 44 searchable: false, 44 45 sortable: true, 46 date: false, 45 47 display: false, 46 48 content: 'browse', -
trunk/src/wp-includes/js/media/views/attachments/browser.js
r31935 r32228 9 9 * @augments Backbone.View 10 10 * 11 * @param {object} options12 * @param { object}[options.filters=false] Which filters to show in the browser's toolbar.13 * Accepts 'uploaded' and 'all'.14 * @param { object}[options.search=true] Whether to show the search interface in the15 * browser's toolbar.16 * @param { object}[options.date=true] Whether to show the date filter in the17 * browser's toolbar.18 * @param { object}[options.display=false] Whether to show the attachments display settings19 * view in the sidebar.20 * @param {bool |string} [options.sidebar=true] Whether to create a sidebar for the browser.21 * Accepts true, false, and 'errors'.11 * @param {object} [options] The options hash passed to the view. 12 * @param {boolean|string} [options.filters=false] Which filters to show in the browser's toolbar. 13 * Accepts 'uploaded' and 'all'. 14 * @param {boolean} [options.search=true] Whether to show the search interface in the 15 * browser's toolbar. 16 * @param {boolean} [options.date=true] Whether to show the date filter in the 17 * browser's toolbar. 18 * @param {boolean} [options.display=false] Whether to show the attachments display settings 19 * view in the sidebar. 20 * @param {boolean|string} [options.sidebar=true] Whether to create a sidebar for the browser. 21 * Accepts true, false, and 'errors'. 22 22 */ 23 23 var View = wp.media.View, -
trunk/src/wp-includes/js/media/views/frame/select.js
r31935 r32228 132 132 search: state.get('searchable'), 133 133 filters: state.get('filterable'), 134 date: state.get('date'), 134 135 display: state.has('display') ? state.get('display') : state.get('displaySettings'), 135 136 dragInfo: state.get('dragInfo'),
Note: See TracChangeset
for help on using the changeset viewer.